EmailMailboxResolveRecipientsRequest EmailMailboxResolveRecipientsRequest EmailMailboxResolveRecipientsRequest EmailMailboxResolveRecipientsRequest Class

Definition

Details of a request to resolve a list of recipients.

public : sealed class EmailMailboxResolveRecipientsRequest : IEmailMailboxResolveRecipientsRequestpublic sealed class EmailMailboxResolveRecipientsRequest : IEmailMailboxResolveRecipientsRequestPublic NotInheritable Class EmailMailboxResolveRecipientsRequest Implements IEmailMailboxResolveRecipientsRequest// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

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

Properties

EmailMailboxId EmailMailboxId EmailMailboxId EmailMailboxId

Gets the mailbox ID where the recipients should be resolved.

public : PlatForm::String EmailMailboxId { get; }public string EmailMailboxId { get; }Public ReadOnly Property EmailMailboxId As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

A mailbox ID.

Recipients Recipients Recipients Recipients

Gets the list of recipients to be resolved.

public : IVectorView<string> Recipients { get; }public IReadOnlyList<string> Recipients { get; }Public ReadOnly Property Recipients As IReadOnlyList<string>// You can use this property in JavaScript.
Value
IVectorView<PlatForm::String> IReadOnlyList<string> IReadOnlyList<string> IReadOnlyList<string>

A list of recipients.

Methods

ReportCompletedAsync(IIterable) ReportCompletedAsync(IIterable) ReportCompletedAsync(IIterable) ReportCompletedAsync(IIterable)

Informs the email client that the request was processed successfully.

Successful completion of the asynchronous operation indicates that the recipient list was processed successfully. Note, though, that this does not mean that all of the names have been successfully resolved. Your code must check the status of each EmailRecipientResolutionResult item in the resolutionResults list to determine whether all of the names have been successfully resolved..

public : IAsyncAction ReportCompletedAsync(IIterable<EmailRecipientResolutionResult> resolutionResults)public IAsyncAction ReportCompletedAsync(IEnumerable<EmailRecipientResolutionResult> resolutionResults)Public Function ReportCompletedAsync(resolutionResults As IEnumerable<EmailRecipientResolutionResult>) As IAsyncAction// You can use this method in JavaScript.
Parameters
resolutionResults
IIterable<EmailRecipientResolutionResult> IEnumerable<EmailRecipientResolutionResult> IEnumerable<EmailRecipientResolutionResult> IEnumerable<EmailRecipientResolutionResult>

A list of EmailRecipientResolutionResult objects with details about resolution results.

Returns

ReportFailedAsync() ReportFailedAsync() ReportFailedAsync() ReportFailedAsync()

Informs the client that the request was not processed successfully. Note that this means the operation failed to execute properly, and does not indicate anything about the recipients. See ReportCompletedAsync to understand how success or failure of resolution for individual recipients is reported.

public : IAsyncAction ReportFailedAsync()public IAsyncAction ReportFailedAsync()Public Function ReportFailedAsync() As IAsyncAction// You can use this method in JavaScript.
Returns