ChatMessageStore.GetMessageByRemoteIdAsync(String, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
按其远程 ID 获取消息。
public:
virtual IAsyncOperation<ChatMessage ^> ^ GetMessageByRemoteIdAsync(Platform::String ^ transportId, Platform::String ^ remoteId) = GetMessageByRemoteIdAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ChatMessage> GetMessageByRemoteIdAsync(winrt::hstring const& transportId, winrt::hstring const& remoteId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ChatMessage> GetMessageByRemoteIdAsync(string transportId, string remoteId);
function getMessageByRemoteIdAsync(transportId, remoteId)
Public Function GetMessageByRemoteIdAsync (transportId As String, remoteId As String) As IAsyncOperation(Of ChatMessage)
参数
- transportId
-
String
Platform::String
winrt::hstring
用于获取 ChatMessage 的TransportId。
- remoteId
-
String
Platform::String
winrt::hstring
要检索的 ChatMessage 的 RemoteId。
返回
消息。
- 属性
Windows 要求
应用功能 |
chat
blockedChatMessages
chatSystem
smsSend
|