HangingRequestDisconnectEventArgs.withException constructor

HangingRequestDisconnectEventArgs.withException(
  1. HangingRequestDisconnectReason reason,
  2. Object? exception
)
Initializes a new instance of the The reason. The exception.

Implementation

HangingRequestDisconnectEventArgs.withException(
    HangingRequestDisconnectReason reason, Object? exception) {
  this.Reason = reason;
  this.Exception = exception;
}