EmailMailbox.TryCreateFolderAsync(String, String) Metode

Definisi

Secara asinkron mencoba membuat folder email baru.

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)

Parameter

parentFolderId
String

Platform::String

winrt::hstring

Id folder email induk.

name
String

Platform::String

winrt::hstring

Nama untuk folder baru.

Mengembalikan

Operasi asinkron dengan EmailMailboxCreateFolderResult yang berisi folder yang baru dibuat dan status operasi buat.

Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 (diperkenalkan dalam 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v2.0)
Kemampuan aplikasi
email emailSystem

Berlaku untuk