EmailMailboxCreateFolderRequest EmailMailboxCreateFolderRequest EmailMailboxCreateFolderRequest EmailMailboxCreateFolderRequest Class

Definition

Details of a request to create a folder.

public : sealed class EmailMailboxCreateFolderRequest : IEmailMailboxCreateFolderRequestpublic sealed class EmailMailboxCreateFolderRequest : IEmailMailboxCreateFolderRequestPublic NotInheritable Class EmailMailboxCreateFolderRequest Implements IEmailMailboxCreateFolderRequest// 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 CreateFolderRequested event handler. Use the instance of this class returned by the EmailMailboxCreateFolderRequestEventArgs.Request property.

Properties

EmailMailboxId EmailMailboxId EmailMailboxId EmailMailboxId

Gets the mailbox identifier for the mailbox where the new folder should be created.

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.

Name Name Name Name

Gets the name of the folder to be created.

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

A folder name.

ParentFolderId ParentFolderId ParentFolderId ParentFolderId

Gets the folder ID of the parent folder for the created folder.

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

A folder ID. Get the parent folder's ID from its EmailFolder.Id property.

Methods

ReportCompletedAsync(EmailFolder) ReportCompletedAsync(EmailFolder) ReportCompletedAsync(EmailFolder) ReportCompletedAsync(EmailFolder)

Informs the client that the request was processed successfully.

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

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

An EmailFolder representing the created folder.

Returns

An asynchronous create operation on an EmailMailboxCreateFolderRequest object.

ReportFailedAsync(EmailMailboxCreateFolderStatus) ReportFailedAsync(EmailMailboxCreateFolderStatus) ReportFailedAsync(EmailMailboxCreateFolderStatus) ReportFailedAsync(EmailMailboxCreateFolderStatus)

Informs the client that the request was not processed successfully.

Successful completion of the asynchronous action indicates that the status parameter's value reports the reason for failure.

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

An asynchronous create operation on an EmailMailboxCreateFolderRequest object.