Share via


EmailMailboxServerSearchReadBatchRequest Class

Definition

Details of a request to read a batch of server-side search results.

public ref class EmailMailboxServerSearchReadBatchRequest sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class EmailMailboxServerSearchReadBatchRequest final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class EmailMailboxServerSearchReadBatchRequest
Public NotInheritable Class EmailMailboxServerSearchReadBatchRequest
Inheritance
Object Platform::Object IInspectable EmailMailboxServerSearchReadBatchRequest
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)
App capabilities
email emailSystem

Remarks

Used in your ServerSearchReadBatchRequested event handler. Use the instance of this class that's returned by the EmailMailboxServerSearchReadBatchRequestEventArgs.Request property.

Properties

EmailFolderId

Gets the folder ID of the folder where the search is to be performed.

EmailMailboxId

Gets the mailbox ID of the mailbox where the search is to be performed.

Options

Gets the search options to be applied to this search.

SessionId

Gets the search session ID of this server-side batch read request.

SuggestedBatchSize

Gets the suggested batch size for the server-side search batch read.

Methods

ReportCompletedAsync()

Informs the email client that the request was processed successfully.

ReportFailedAsync(EmailBatchStatus)

Informs the client that the request was not processed successfully.

SaveMessageAsync(EmailMessage)

Saves a message that meets server-side search criteria.

Applies to