Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

EwsException Constructor

Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9147)

EwsException(String)

Initializes a new instance of the EwsException class with the specified error message.

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 EwsException class with the specified error message and a reference to the inner exception that is the cause of this exception.

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 EwsException class with the specified error message and status.

Declaration
public EwsException(string message, EwsExceptionStatus status)
Parameters
Type Name Description
String message

The message that describes the error.

EwsExceptionStatus status

One of the EwsExceptionStatus values.

EwsException(String, Exception, EwsExceptionStatus)

Initializes a new instance of the EwsException class with the specified error message, status and a reference to the inner exception that is the cause of this exception.

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.

EwsExceptionStatus status

One of the EwsExceptionStatus values.

EwsException(String, EwsExceptionStatus, String)

Initializes a new instance of the EwsException class with the specified error message, status and a reference to the inner exception that is the cause of this exception.

Declaration
public EwsException(string message, EwsExceptionStatus status, string protocolCode)
Parameters
Type Name Description
String message

The message that describes the error.

EwsExceptionStatus status

One of the EwsExceptionStatus values.

String protocolCode

Error code received through the protocol.

EwsException(String, Exception, EwsExceptionStatus, String)

Initializes a new instance of the EwsException class with the specified error message, status and a reference to the inner exception that is the cause of this exception.

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.

EwsExceptionStatus status

One of the EwsExceptionStatus values.

String protocolCode

Error code received through the protocol.

In This Article
  • EwsException(String)
  • EwsException(String, Exception)
  • EwsException(String, EwsExceptionStatus)
  • EwsException(String, Exception, EwsExceptionStatus)
  • EwsException(String, EwsExceptionStatus, String)
  • EwsException(String, Exception, EwsExceptionStatus, String)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies