public final class HangingRequestDisconnectEventArgs extends Object
Constructor and Description |
---|
HangingRequestDisconnectEventArgs(HangingRequestDisconnectReason reason,
Exception exception)
Initializes a new instance of the
HangingRequestDisconnectEventArgs class.
|
Modifier and Type | Method and Description |
---|---|
Exception |
getException()
Gets the exception that caused the disconnection.
|
HangingRequestDisconnectReason |
getReason()
Gets the reason that the user was disconnected.
|
protected void |
setException(Exception value)
Sets the exception that caused the disconnection.
|
protected void |
setReason(HangingRequestDisconnectReason value)
Sets the reason that the user was disconnected.
|
public HangingRequestDisconnectEventArgs(HangingRequestDisconnectReason reason, Exception exception)
reason
- The reason.exception
- The exception.public HangingRequestDisconnectReason getReason()
protected void setReason(HangingRequestDisconnectReason value)
value
- The reason.public Exception getException()
protected void setException(Exception value)
value
- The Exception.Copyright © 2012–2015 Microsoft. All rights reserved.