ChatMessageStore.GetConversationAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetConversationAsync(String) |
以非同步方式依識別碼取得 ChatConversation 。 |
GetConversationAsync(String, IIterable<String>) |
使用指定的傳輸,以非同步方式取得 ChatConversation 。 |
GetConversationAsync(String)
以非同步方式依識別碼取得 ChatConversation 。
public:
virtual IAsyncOperation<ChatConversation ^> ^ GetConversationAsync(Platform::String ^ conversationId) = GetConversationAsync;
/// [Windows.Foundation.Metadata.Overload("GetConversationAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ChatConversation> GetConversationAsync(winrt::hstring const& conversationId);
[Windows.Foundation.Metadata.Overload("GetConversationAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ChatConversation> GetConversationAsync(string conversationId);
function getConversationAsync(conversationId)
Public Function GetConversationAsync (conversationId As String) As IAsyncOperation(Of ChatConversation)
參數
- conversationId
-
String
Platform::String
winrt::hstring
要擷取之交談的識別碼。
傳回
conversationId參數指定的ChatConversation。
- 屬性
Windows 需求
應用程式功能 |
chat
chatSystem
smsSend
|
另請參閱
適用於
GetConversationAsync(String, IIterable<String>)
使用指定的傳輸,以非同步方式取得 ChatConversation 。
public:
virtual IAsyncOperation<ChatConversation ^> ^ GetConversationAsync(Platform::String ^ conversationId, IIterable<Platform::String ^> ^ transportIds) = GetConversationAsync;
/// [Windows.Foundation.Metadata.Overload("GetConversationForTransportsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ChatConversation> GetConversationAsync(winrt::hstring const& conversationId, IIterable<winrt::hstring> const& transportIds);
[Windows.Foundation.Metadata.Overload("GetConversationForTransportsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ChatConversation> GetConversationAsync(string conversationId, IEnumerable<string> transportIds);
function getConversationAsync(conversationId, transportIds)
Public Function GetConversationAsync (conversationId As String, transportIds As IEnumerable(Of String)) As IAsyncOperation(Of ChatConversation)
參數
- conversationId
-
String
Platform::String
winrt::hstring
要擷取之交談的識別碼。
用來擷取 ChatConversation之傳輸的識別碼。
傳回
conversationId參數指定的ChatConversation。
- 屬性
Windows 需求
應用程式功能 |
chat
chatSystem
smsSend
|