microsoft.exchange.webservices.data.core.request
Class HangingRequestDisconnectEventArgs

java.lang.Object
  extended by microsoft.exchange.webservices.data.core.request.HangingRequestDisconnectEventArgs

public final class HangingRequestDisconnectEventArgs
extends Object

Represents a collection of arguments for the HangingServiceRequestBase.HangingRequestDisconnectHandler delegate method.


Constructor Summary
HangingRequestDisconnectEventArgs(HangingRequestDisconnectReason reason, Exception exception)
          Initializes a new instance of the HangingRequestDisconnectEventArgs class.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HangingRequestDisconnectEventArgs

public HangingRequestDisconnectEventArgs(HangingRequestDisconnectReason reason,
                                         Exception exception)
Initializes a new instance of the HangingRequestDisconnectEventArgs class.

Parameters:
reason - The reason.
exception - The exception.
Method Detail

getReason

public HangingRequestDisconnectReason getReason()
Gets the reason that the user was disconnected.

Returns:
reason The reason.

setReason

protected void setReason(HangingRequestDisconnectReason value)
Sets the reason that the user was disconnected.

Parameters:
value - The reason.

getException

public Exception getException()
Gets the exception that caused the disconnection. Can be null.

Returns:
exception The Exception.

setException

protected void setException(Exception value)
Sets the exception that caused the disconnection. Can be null.

Parameters:
value - The Exception.


Copyright © 2012–2015 Microsoft. All rights reserved.