共用方式為


ChatMessageStore.GetConversationAsync 方法

定義

多載

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

要擷取之交談的識別碼。

transportIds

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

用來擷取 ChatConversation之傳輸的識別碼。

傳回

conversationId參數指定的ChatConversation

屬性

Windows 需求

應用程式功能
chat chatSystem smsSend

另請參閱

適用於