ChatMessageStore.RetrySendMessageAsync(String) Method

Definition

Attempts a retry of sending a specified message from the message store.

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

Parameters

localChatMessageId
String

Platform::String

winrt::hstring

The local ID of the message to be retried.

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 it if it chooses to retry sending the message when the message status is ChatMessageStatus.SendFailed.

Applies to