SubscriptionErrorEventArgs constructor

SubscriptionErrorEventArgs(
  1. StreamingSubscription? subscription,
  2. Object? exception
)
Initializes a new instance of the The subscription for which an error occurred. If subscription is null, the error applies to the entire connection. The exception representing the error. If exception is null, the connection was cleanly closed by the server.

Implementation

SubscriptionErrorEventArgs(
    StreamingSubscription? subscription, Object? exception) {
  this.Subscription = subscription;
  this.Exception = exception;
}