ChatMessageStore.DownloadMessageAsync(String) Method

Definition

Downloads a message specified by the identifier to the message store.

public:
 virtual IAsyncAction ^ DownloadMessageAsync(Platform::String ^ localChatMessageId) = DownloadMessageAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction DownloadMessageAsync(winrt::hstring const& localChatMessageId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction DownloadMessageAsync(string localChatMessageId);
function downloadMessageAsync(localChatMessageId)
Public Function DownloadMessageAsync (localChatMessageId As String) As IAsyncAction

Parameters

localChatMessageId
String

Platform::String

winrt::hstring

The local ID of the message to be downloaded.

Returns

An asynchronous action.

Attributes

Windows requirements

App capabilities
chat chatSystem smsSend

Remarks

The message contents including its attachments are downloaded. An application will call this method when the message status is ChatMessageStatus.ReceiveDownloadNeeded.

Applies to