EwsException Constructor
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9147)
EwsException(String)
Initializes a new instance of the Ews
Declaration
public EwsException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
EwsException(String, Exception)
Initializes a new instance of the Ews
Declaration
public EwsException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
Exception | innerException | The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception. |
EwsException(String, EwsExceptionStatus)
Initializes a new instance of the Ews
Declaration
public EwsException(string message, EwsExceptionStatus status)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
Ews |
status | One of the Ews |
EwsException(String, Exception, EwsExceptionStatus)
Initializes a new instance of the Ews
Declaration
public EwsException(string message, Exception innerException, EwsExceptionStatus status)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
Exception | innerException | The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception. |
Ews |
status | One of the Ews |
EwsException(String, EwsExceptionStatus, String)
Initializes a new instance of the Ews
Declaration
public EwsException(string message, EwsExceptionStatus status, string protocolCode)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
Ews |
status | One of the Ews |
String | protocolCode | Error code received through the protocol. |
EwsException(String, Exception, EwsExceptionStatus, String)
Initializes a new instance of the Ews
Declaration
public EwsException(string message, Exception innerException, EwsExceptionStatus status, string protocolCode)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message that describes the error. |
Exception | innerException | The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception. |
Ews |
status | One of the Ews |
String | protocolCode | Error code received through the protocol. |