Share via


EmailMailboxResolveRecipientsRequest Class

Definition

Details of a request to resolve a list of recipients.

public ref class EmailMailboxResolveRecipientsRequest 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 EmailMailboxResolveRecipientsRequest 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 EmailMailboxResolveRecipientsRequest
Public NotInheritable Class EmailMailboxResolveRecipientsRequest
Inheritance
Object Platform::Object IInspectable EmailMailboxResolveRecipientsRequest
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 ResolveRecipientsRequested event handler. Use the instance of this class that's returned by the EmailMailboxResolveRecipientesRequestEventArgs.Request property.

Properties

EmailMailboxId

Gets the mailbox ID where the recipients should be resolved.

Recipients

Gets the list of recipients to be resolved.

Methods

ReportCompletedAsync(IIterable<EmailRecipientResolutionResult>)

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..

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.

Applies to