次の方法で共有


EmailMailboxResolveRecipientsRequest クラス

定義

受信者の一覧を解決するための要求の詳細。

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
継承
Object Platform::Object IInspectable EmailMailboxResolveRecipientsRequest
属性

Windows の要件

デバイス ファミリ
Windows 10 Anniversary Edition (10.0.14393.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v3.0 で導入)
アプリの機能
email emailSystem

注釈

ResolveRecipientsRequested イベント ハンドラーで使用されます。 EmailMailboxResolveRecipientesRequestEventArgs.Request プロパティによって返されるこのクラスのインスタンスを使用します。

プロパティ

EmailMailboxId

受信者を解決するメールボックス ID を取得します。

Recipients

解決する受信者の一覧を取得します。

メソッド

ReportCompletedAsync(IIterable<EmailRecipientResolutionResult>)

要求が正常に処理されたことを電子メール クライアントに通知します。

非同期操作が正常に完了すると、受信者リストが正常に処理されたことを示します。 ただし、これはすべての名前が正常に解決されたことを意味するわけではないことに注意してください。 すべての名前が正常に解決されたかどうかを判断するには、コードで resolutionResults リストの各 EmailRecipientResolutionResult アイテムの状態をチェックする必要があります。

ReportFailedAsync()

要求が正常に処理されなかったことをクライアントに通知します。 これは、操作が正常に実行できなかったことを意味し、受信者に関する何も示さないことに注意してください。 個々の受信者の解決の成功または失敗がどのように報告されるかについては、「 ReportCompletedAsync 」を参照してください。

適用対象