Edit

Share via


AutodiscoverRemoteException Constructors

Definition

Overloads

AutodiscoverRemoteException(AutodiscoverError)

Initializes a new instance of the AutodiscoverRemoteException class.

AutodiscoverRemoteException(String, AutodiscoverError)

Initializes a new instance of the AutodiscoverRemoteException class with its message string set to the given message.

AutodiscoverRemoteException(String, AutodiscoverError, Exception)

Initializes a new instance of the AutodiscoverRemoteException class with its message string set to the given message and reference to the inner exception that is the cause of this exception.

AutodiscoverRemoteException(AutodiscoverError)

Initializes a new instance of the AutodiscoverRemoteException class.

public:
 AutodiscoverRemoteException(Microsoft::Exchange::WebServices::Autodiscover::AutodiscoverError ^ error);
public AutodiscoverRemoteException (Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverError error);
Public Sub New (error As AutodiscoverError)

Parameters

error
AutodiscoverError

The error that is associated with the exception.

Applies to

AutodiscoverRemoteException(String, AutodiscoverError)

Initializes a new instance of the AutodiscoverRemoteException class with its message string set to the given message.

public:
 AutodiscoverRemoteException(System::String ^ message, Microsoft::Exchange::WebServices::Autodiscover::AutodiscoverError ^ error);
public AutodiscoverRemoteException (string message, Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverError error);
Public Sub New (message As String, error As AutodiscoverError)

Parameters

message
String

A string that indicates the reason that this exception was thrown.

error
AutodiscoverError

The error that is associated with the exception.

Applies to

AutodiscoverRemoteException(String, AutodiscoverError, Exception)

Initializes a new instance of the AutodiscoverRemoteException class with its message string set to the given message and reference to the inner exception that is the cause of this exception.

public:
 AutodiscoverRemoteException(System::String ^ message, Microsoft::Exchange::WebServices::Autodiscover::AutodiscoverError ^ error, Exception ^ innerException);
public AutodiscoverRemoteException (string message, Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverError error, Exception innerException);
Public Sub New (message As String, error As AutodiscoverError, innerException As Exception)

Parameters

message
String

A string that indicates the reason that this exception was thrown.

error
AutodiscoverError

The error that is associated with the exception.

innerException
Exception

The exception that is the cause of the current exception.

Applies to