OutlookMailClientMoveMessageAsync Method

Asynchronously moves the specified message to the target folder.

Definition

Namespace: DevCase.ThirdParty.MicrosoftLive
Assembly: DevCase.net48.ThirdParty.MicrosoftLive (in DevCase.net48.ThirdParty.MicrosoftLive.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public Task<bool> MoveMessageAsync(
	IMessage msg,
	IMailFolder destination
)

Parameters

msg  IMessage
The source IMessage to move.
destination  IMailFolder
The target IMailFolder.

Return Value

TaskBoolean
if the operation succeeds, otherwise, .

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:

Microsoft.Identity.Client

Microsoft.Experimental.IdentityModel.Clients.ActiveDirectory

Microsoft.Office365.OutlookServices-V2.0

Microsoft.OData.Client

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

Exceptions

InvalidOperationException

See Also