EmailMailbox.TryMoveMessageAsync(String, 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 move the specified email message.
public:
virtual IAsyncOperation<bool> ^ TryMoveMessageAsync(Platform::String ^ messageId, Platform::String ^ newParentFolderId) = TryMoveMessageAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryMoveMessageAsync(winrt::hstring const& messageId, winrt::hstring const& newParentFolderId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryMoveMessageAsync(string messageId, string newParentFolderId);
function tryMoveMessageAsync(messageId, newParentFolderId)
Public Function TryMoveMessageAsync (messageId As String, newParentFolderId As String) As IAsyncOperation(Of Boolean)
Parameters
- messageId
-
String
Platform::String
winrt::hstring
The ID of the email message to move.
- newParentFolderId
-
String
Platform::String
winrt::hstring
The ID of the new folder where the email message should reside.
Returns
A Boolean value indicating if the move was successful.
- Attributes
Windows requirements
App capabilities |
email
emailSystem
|
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for