FailedSearchMailbox Constructors

Definition

Overloads

FailedSearchMailbox(String, Int32, String)

Initializes a new instance of the FailedSearchMailbox class on the referenced mailbox. The FailedSearchMailbox(String, Int32, String) constructor is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

FailedSearchMailbox(String, Int32, String, Boolean)

Initializes a new instance of the FailedSearchMailbox class on the referenced mailbox specifying whether the target mailbox is an archive mailbox. The FailedSearchMailbox(String, Int32, String, Boolean) constructor is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

FailedSearchMailbox(String, Int32, String)

Initializes a new instance of the FailedSearchMailbox class on the referenced mailbox. The FailedSearchMailbox(String, Int32, String) constructor is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

public:
 FailedSearchMailbox(System::String ^ mailbox, int errorCode, System::String ^ errorMessage);
public FailedSearchMailbox (string mailbox, int errorCode, string errorMessage);
Public Sub New (mailbox As String, errorCode As Integer, errorMessage As String)

Parameters

mailbox
String

The mailbox searched.

errorCode
Int32

The error code.

errorMessage
String

The error message.

Applies to

FailedSearchMailbox(String, Int32, String, Boolean)

Initializes a new instance of the FailedSearchMailbox class on the referenced mailbox specifying whether the target mailbox is an archive mailbox. The FailedSearchMailbox(String, Int32, String, Boolean) constructor is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

public:
 FailedSearchMailbox(System::String ^ mailbox, int errorCode, System::String ^ errorMessage, bool isArchive);
public FailedSearchMailbox (string mailbox, int errorCode, string errorMessage, bool isArchive);
Public Sub New (mailbox As String, errorCode As Integer, errorMessage As String, isArchive As Boolean)

Parameters

mailbox
String

The mailbox ID.

errorCode
Int32

The error code.

errorMessage
String

The error message.

isArchive
Boolean

true if it is mailbox archive; otherwise, false.

Applies to