ChatMessageStore.SaveMessageAsync(ChatMessage) Method

Definition

Asynchronously saves a message to the ChatMessageStore.

public:
 virtual IAsyncAction ^ SaveMessageAsync(ChatMessage ^ chatMessage) = SaveMessageAsync;
IAsyncAction SaveMessageAsync(ChatMessage const& chatMessage);
public IAsyncAction SaveMessageAsync(ChatMessage chatMessage);
function saveMessageAsync(chatMessage)
Public Function SaveMessageAsync (chatMessage As ChatMessage) As IAsyncAction

Parameters

chatMessage
ChatMessage

The message to save.

Returns

An async action indicating that the operation has finished.

Windows requirements

App capabilities
chat blockedChatMessages chatSystem smsSend

Applies to