共用方式為


EmailMailbox.TryDeleteFolderAsync(String) 方法

定義

以非同步方式嘗試刪除電子郵件資料夾。

public:
 virtual IAsyncOperation<EmailMailboxDeleteFolderStatus> ^ TryDeleteFolderAsync(Platform::String ^ folderId) = TryDeleteFolderAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<EmailMailboxDeleteFolderStatus> TryDeleteFolderAsync(winrt::hstring const& folderId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<EmailMailboxDeleteFolderStatus> TryDeleteFolderAsync(string folderId);
function tryDeleteFolderAsync(folderId)
Public Function TryDeleteFolderAsync (folderId As String) As IAsyncOperation(Of EmailMailboxDeleteFolderStatus)

參數

folderId
String

Platform::String

winrt::hstring

要刪除之資料夾的 識別碼

傳回

具有 EmailMailboxDeleteFolderStatus 值的非同步作業,代表刪除作業的狀態。

屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10586.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v2.0 引進)
應用程式功能
email emailSystem

適用於