ExchangeService.BeginSearchMailboxes method

Initiates an asynchronous request to search mailboxes for items that match a query string by using the associated SearchMailboxesParameters object to specify details of the search request.

The BeginSearchMailboxes(AsyncCallback, Object, SearchMailboxesParameters) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public IAsyncResult BeginSearchMailboxes(
	AsyncCallback callback,
	Object state,
	SearchMailboxesParameters searchParameters


Type: System.AsyncCallback

A reference to the method to call when the corresponding asynchronous operation completes.

Type: System.Object

An object that contains state information for this request.

Type: Microsoft.Exchange.WebServices.Data.SearchMailboxesParameters

A SearchMailboxesParameters object.

Return value

Type: System.IAsyncResult
An object that references the asynchronous request.