Class ConnectionRejectedEventArgs
Event args for connection rejected event.
public class ConnectionRejectedEventArgs : EventArgs
- Inheritance
-
ConnectionRejectedEventArgs
- Inherited Members
Constructors
ConnectionRejectedEventArgs(ConnectionContext, string?)
public ConnectionRejectedEventArgs(ConnectionContext context, string? reason)
Parameters
contextConnectionContextreasonstring
Properties
Context
The connection context that was rejected.
public ConnectionContext Context { get; }
Property Value
Reason
The reason the connection was rejected.
public string? Reason { get; }