|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmicrosoft.exchange.webservices.data.SubscriptionErrorEventArgs
public class SubscriptionErrorEventArgs
Provides data to a StreamingSubscriptionConnection's OnSubscriptionError and OnDisconnect events.
Constructor Summary | |
---|---|
protected |
SubscriptionErrorEventArgs(StreamingSubscription subscription,
java.lang.Exception exception)
Initializes a new instance of the SubscriptionErrorEventArgs class. |
Method Summary | |
---|---|
java.lang.Exception |
getException()
Gets the exception representing the error. |
StreamingSubscription |
getSubscription()
Gets the subscription for which an error occurred. |
protected void |
setException(java.lang.Exception value)
Sets the exception representing the error. |
protected void |
setSubscription(StreamingSubscription value)
Sets the subscription for which an error occurred. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected SubscriptionErrorEventArgs(StreamingSubscription subscription, java.lang.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.Method Detail |
---|
public StreamingSubscription getSubscription()
protected void setSubscription(StreamingSubscription value)
public java.lang.Exception getException()
protected void setException(java.lang.Exception value)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |