FailedSearchMailbox Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for