WebSocketServerCustomValidationRequestedEventArgs.Reject Method

Definition

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.

Applies to