ChatMessageStore.DownloadMessageAsync(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.