EmailMailbox.TryCreateFolderAsync(String, String) メソッド

定義

新しい電子メール フォルダーの作成を非同期的に試みます。

public:
 virtual IAsyncOperation<EmailMailboxCreateFolderResult ^> ^ TryCreateFolderAsync(Platform::String ^ parentFolderId, Platform::String ^ name) = TryCreateFolderAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<EmailMailboxCreateFolderResult> TryCreateFolderAsync(winrt::hstring const& parentFolderId, winrt::hstring const& name);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<EmailMailboxCreateFolderResult> TryCreateFolderAsync(string parentFolderId, string name);
function tryCreateFolderAsync(parentFolderId, name)
Public Function TryCreateFolderAsync (parentFolderId As String, name As String) As IAsyncOperation(Of EmailMailboxCreateFolderResult)

パラメーター

parentFolderId
String

Platform::String

winrt::hstring

親メール フォルダーの ID

name
String

Platform::String

winrt::hstring

新しいフォルダーの名前。

戻り値

新しく作成されたフォルダーと作成操作の状態を含む EmailMailboxCreateFolderResult を使用した非同期操作。

属性

Windows の要件

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

適用対象