Share via


EmailMailbox.TryGetAutoReplySettingsAsync Method

Definition

Asynchronously attempts to get the auto-reply settings for the mailbox.

public:
 virtual IAsyncOperation<EmailMailboxAutoReplySettings ^> ^ TryGetAutoReplySettingsAsync(EmailMailboxAutoReplyMessageResponseKind requestedFormat) = TryGetAutoReplySettingsAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<EmailMailboxAutoReplySettings> TryGetAutoReplySettingsAsync(EmailMailboxAutoReplyMessageResponseKind const& requestedFormat);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<EmailMailboxAutoReplySettings> TryGetAutoReplySettingsAsync(EmailMailboxAutoReplyMessageResponseKind requestedFormat);
function tryGetAutoReplySettingsAsync(requestedFormat)
Public Function TryGetAutoReplySettingsAsync (requestedFormat As EmailMailboxAutoReplyMessageResponseKind) As IAsyncOperation(Of EmailMailboxAutoReplySettings)

Parameters

requestedFormat
EmailMailboxAutoReplyMessageResponseKind

The requested text format of the auto-reply message, HTML or plain text.

Returns

The auto-reply settings.

Attributes

Windows requirements

App capabilities
email emailSystem

Applies to