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

要删除的文件夹的 ID

返回

具有表示删除操作状态的 EmailMailboxDeleteFolderStatus 值的异步操作。

属性

Windows 要求

设备系列
Windows 10 (在 10.0.10586.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v2.0 中引入)
应用功能
email emailSystem

适用于