public class SubscriptionErrorEventArgs extends Object
Modifier | Constructor and Description |
---|---|
protected |
SubscriptionErrorEventArgs(StreamingSubscription subscription,
Exception exception)
Initializes a new instance of the SubscriptionErrorEventArgs class.
|
Modifier and Type | Method and Description |
---|---|
Exception |
getException()
Gets the exception representing the error.
|
StreamingSubscription |
getSubscription()
Gets the subscription for which an error occurred.
|
protected void |
setException(Exception value)
Sets the exception representing the error.
|
protected void |
setSubscription(StreamingSubscription value)
Sets the subscription for which an error occurred.
|
protected SubscriptionErrorEventArgs(StreamingSubscription subscription, Exception exception)
subscription
- The subscription for which an error occurred.
If subscription is null, the error applies to the entire connection.exception
- The exception representing the error.
If exception is null, the connection
was cleanly closed by the server.public StreamingSubscription getSubscription()
protected void setSubscription(StreamingSubscription value)
public Exception getException()
protected void setException(Exception value)
Copyright © 2012–2015 Microsoft. All rights reserved.