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.

Namespace:  Rebex.Net
Assembly:  Rebex.Ews (in Rebex.Ews.dll)

Syntax

Visual Basic
Public Sub New ( _
	message As String, _
	status As EwsExceptionStatus, _
	protocolCode As String _
)
C#
public EwsException(
	string message,
	EwsExceptionStatus status,
	string protocolCode
)

Parameters

message
Type: System..::..String
The message that describes the error.
status
Type: Rebex.Net..::..EwsExceptionStatus
One of the EwsExceptionStatus values.
protocolCode
Type: System..::..String
Error code received through the protocol.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also