Class ConnectionBlockedEventArgs
Event relating to connection being blocked.
public class ConnectionBlockedEventArgs : AsyncEventArgs
- Inheritance
-
ConnectionBlockedEventArgs
- Inherited Members
Constructors
ConnectionBlockedEventArgs(string, CancellationToken)
public ConnectionBlockedEventArgs(string reason, CancellationToken cancellationToken = default)
Parameters
reason
stringcancellationToken
CancellationToken
Fields
Reason
Access the reason why connection is blocked.
public readonly string Reason