ChatMessageManager.MarkChatMessageReadAsync | markChatMessageReadAsync method
This API is not available to all Windows/Windows Phone apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime.
Syntax
chatMessageManager.markChatMessageReadAsync(localChatMessageId).done( /* Your success and error handlers */ );
public IAsyncAction MarkChatMessageReadAsync(
string localChatMessageId
)
Public Function MarkChatMessageReadAsync(
localChatMessageId As String
) As IAsyncAction
public:
IAsyncAction^ MarkChatMessageReadAsync(
String^ localChatMessageId
)
Parameters
localChatMessageId
Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]The local ID of the message to be marked as read.
Return value
Type: IAsyncAction
An asynchronous action.
Requirements
Minimum supported client |
Windows 8.1 |
Minimum supported server |
Windows Server 2012 R2 |
Minimum supported phone |
Windows Phone 8.1 |
Namespace |
Windows.ApplicationModel.Chat Windows::ApplicationModel::Chat [C++] |
Metadata |
Windows.winmd |