EmailMailbox.ChangeMessageFlagStateAsync(String, EmailFlagState) 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 changes the flag state of an email message.
public:
virtual IAsyncAction ^ ChangeMessageFlagStateAsync(Platform::String ^ messageId, EmailFlagState flagState) = ChangeMessageFlagStateAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction ChangeMessageFlagStateAsync(winrt::hstring const& messageId, EmailFlagState const& flagState);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction ChangeMessageFlagStateAsync(string messageId, EmailFlagState flagState);
function changeMessageFlagStateAsync(messageId, flagState)
Public Function ChangeMessageFlagStateAsync (messageId As String, flagState As EmailFlagState) As IAsyncAction
Parameters
- messageId
-
String
Platform::String
winrt::hstring
The ID of the email message to change.
- flagState
- EmailFlagState
The new email flag state.
Returns
An async action indicating that the operation has completed.
- Attributes
Windows requirements
App capabilities |
email
emailSystem
|