WebSocketServerCustomValidationRequestedEventArgs.Reject Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Rejects validation of this server. Call this method when your validation has determined that you should not connect to the server.
public:
virtual void Reject() = Reject;
void Reject();
public void Reject();
function reject()
Public Sub Reject ()
Remarks
There is no explicit method that allows a connection during validation. If no event handler calls Reject, then the connection is allowed.