Udostępnij za pośrednictwem


EmailMailbox.CreateResponseMessageAsync Method

Definition

Creates a new response email such as Reply, Reply All, Forward, and so on.

public:
 virtual IAsyncOperation<EmailMessage ^> ^ CreateResponseMessageAsync(Platform::String ^ messageId, EmailMessageResponseKind responseType, Platform::String ^ subject, EmailMessageBodyKind responseHeaderType, Platform::String ^ responseHeader) = CreateResponseMessageAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<EmailMessage> CreateResponseMessageAsync(winrt::hstring const& messageId, EmailMessageResponseKind const& responseType, winrt::hstring const& subject, EmailMessageBodyKind const& responseHeaderType, winrt::hstring const& responseHeader);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<EmailMessage> CreateResponseMessageAsync(string messageId, EmailMessageResponseKind responseType, string subject, EmailMessageBodyKind responseHeaderType, string responseHeader);
function createResponseMessageAsync(messageId, responseType, subject, responseHeaderType, responseHeader)
Public Function CreateResponseMessageAsync (messageId As String, responseType As EmailMessageResponseKind, subject As String, responseHeaderType As EmailMessageBodyKind, responseHeader As String) As IAsyncOperation(Of EmailMessage)

Parameters

messageId
String

Platform::String

winrt::hstring

The ID of the message to which to respond.

responseType
EmailMessageResponseKind

The type of response such as Reply, Reply All, Forward, and so on.

subject
String

Platform::String

winrt::hstring

The subject for the response message.

responseHeaderType
EmailMessageBodyKind

The format of the email body such as plain text or HTML.

responseHeader
String

Platform::String

winrt::hstring

The header for the response message.

Returns

The newly created response email message.

Attributes

Windows requirements

App capabilities
email emailSystem

Applies to