EmailMailboxMoveFolderRequest EmailMailboxMoveFolderRequest EmailMailboxMoveFolderRequest EmailMailboxMoveFolderRequest Class

Definition

Details of a request to move a folder.

public : sealed class EmailMailboxMoveFolderRequest : IEmailMailboxMoveFolderRequestpublic sealed class EmailMailboxMoveFolderRequest : IEmailMailboxMoveFolderRequestPublic NotInheritable Class EmailMailboxMoveFolderRequest Implements IEmailMailboxMoveFolderRequest// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

Used in your MoveFolderRequested event handler. Use the instance of this class that's returned by the EmailMailboxMoveFolderRequestEventArgs.Request property.

Properties

EmailFolderId EmailFolderId EmailFolderId EmailFolderId

Gets the folder ID of the folder to be moved.

public : PlatForm::String EmailFolderId { get; }public string EmailFolderId { get; }Public ReadOnly Property EmailFolderId As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

A folder ID.

EmailMailboxId EmailMailboxId EmailMailboxId EmailMailboxId

Gets the mailbox ID of the mailbox containing the folder to be moved.

public : PlatForm::String EmailMailboxId { get; }public string EmailMailboxId { get; }Public ReadOnly Property EmailMailboxId As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

A mailbox ID.

NewFolderName NewFolderName NewFolderName NewFolderName

Gets the new folder name of the file to be moved.

public : PlatForm::String NewFolderName { get; }public string NewFolderName { get; }Public ReadOnly Property NewFolderName As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The new folder name. Note that you rename a folder by requesting a move to the current parent folder, but with a new name.

NewParentFolderId NewParentFolderId NewParentFolderId NewParentFolderId

Gets the parent folder ID of the new parent folder.

public : PlatForm::String NewParentFolderId { get; }public string NewParentFolderId { get; }Public ReadOnly Property NewParentFolderId As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

A folder ID. Note that you rename a folder by requesting a move to the current parent folder, but with a new name.

Methods

ReportCompletedAsync() ReportCompletedAsync() ReportCompletedAsync() ReportCompletedAsync()

Informs the email client that the request was processed successfully.

Successful completion of the asynchronous operation indicates that the folder was moved successfully.

public : IAsyncAction ReportCompletedAsync()public IAsyncAction ReportCompletedAsync()Public Function ReportCompletedAsync() As IAsyncAction// You can use this method in JavaScript.
Returns

ReportFailedAsync() ReportFailedAsync() ReportFailedAsync() ReportFailedAsync()

Informs the client that the request was not processed successfully.

public : IAsyncAction ReportFailedAsync()public IAsyncAction ReportFailedAsync()Public Function ReportFailedAsync() As IAsyncAction// You can use this method in JavaScript.
Returns