Share via


EmailMailboxCreateFolderRequest Class

Definition

Details of a request to create a folder.

public ref class EmailMailboxCreateFolderRequest sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class EmailMailboxCreateFolderRequest final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class EmailMailboxCreateFolderRequest
Public NotInheritable Class EmailMailboxCreateFolderRequest
Inheritance
Object Platform::Object IInspectable EmailMailboxCreateFolderRequest
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)
App capabilities
email emailSystem

Remarks

Used in your CreateFolderRequested event handler. Use the instance of this class returned by the EmailMailboxCreateFolderRequestEventArgs.Request property.

Properties

EmailMailboxId

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

Name

Gets the name of the folder to be created.

ParentFolderId

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

Methods

ReportCompletedAsync(EmailFolder)

Informs the client that the request was processed successfully.

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

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.

Applies to