ChatMessageStore.DeleteMessageAsync(String) Method

Definition

Deletes a message from the chat message store.

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

Parameters

localMessageId
String

Platform::String

winrt::hstring

The local ID of the message to be deleted.

Returns

An asynchronous action.

Attributes

Windows requirements

App capabilities
chat blockedChatMessages chatSystem smsSend

Applies to