ChatMessageStore.GetMessageByRemoteIdAsync(String, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
依其遠端識別碼取得訊息。
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
|