EmailMailbox.DeleteMessageAsync(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 deletes an email message from the mailbox.
public:
virtual IAsyncAction ^ DeleteMessageAsync(Platform::String ^ messageId) = DeleteMessageAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction DeleteMessageAsync(winrt::hstring const& messageId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction DeleteMessageAsync(string messageId);
function deleteMessageAsync(messageId)
Public Function DeleteMessageAsync (messageId As String) As IAsyncAction
Parameters
- messageId
-
String
Platform::String
winrt::hstring
The ID of the email message to delete.
Returns
An async action indicating that the operation has completed.
- Attributes
Windows requirements
App capabilities |
email
emailSystem
|