EmailMailbox.TryDeleteFolderAsync(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 attempts to delete an email folder.
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)
Parameters
Returns
An async operation with an EmailMailboxDeleteFolderStatus 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
|