EmailMailbox.TryEmptyFolderAsync(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously attempt to delete the contents of an email folder.
public:
virtual IAsyncOperation<EmailMailboxEmptyFolderStatus> ^ TryEmptyFolderAsync(Platform::String ^ folderId) = TryEmptyFolderAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<EmailMailboxEmptyFolderStatus> TryEmptyFolderAsync(winrt::hstring const& folderId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<EmailMailboxEmptyFolderStatus> TryEmptyFolderAsync(string folderId);
function tryEmptyFolderAsync(folderId)
Public Function TryEmptyFolderAsync (folderId As String) As IAsyncOperation(Of EmailMailboxEmptyFolderStatus)
Parameters
Returns
An async operation with an EmailMailboxEmptyFolderStatus value representing the status of the delete operation.
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10586.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v2.0)
|
App capabilities |
email
emailSystem
|