共用方式為


ChatCapabilitiesManager.GetCachedCapabilitiesAsync 方法

定義

多載

GetCachedCapabilitiesAsync(String)

以非同步方式取得本機快取的豐富通訊服務, (RCS) 指定電話號碼的聊天功能。

GetCachedCapabilitiesAsync(String, String)

透過指定的 RcsTransport TransportId,以非同步方式取得本機快取的 Rich Communication Services (RCS) 聊天功能。

GetCachedCapabilitiesAsync(String)

以非同步方式取得本機快取的豐富通訊服務, (RCS) 指定電話號碼的聊天功能。

public:
 static IAsyncOperation<ChatCapabilities ^> ^ GetCachedCapabilitiesAsync(Platform::String ^ address);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<ChatCapabilities> GetCachedCapabilitiesAsync(winrt::hstring const& address);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Overload("GetCachedCapabilitiesAsync")]
 static IAsyncOperation<ChatCapabilities> GetCachedCapabilitiesAsync(winrt::hstring const& address);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<ChatCapabilities> GetCachedCapabilitiesAsync(string address);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Overload("GetCachedCapabilitiesAsync")]
public static IAsyncOperation<ChatCapabilities> GetCachedCapabilitiesAsync(string address);
function getCachedCapabilitiesAsync(address)
Public Shared Function GetCachedCapabilitiesAsync (address As String) As IAsyncOperation(Of ChatCapabilities)

參數

address
String

Platform::String

winrt::hstring

要取得豐富通訊服務的電話號碼 (RCS) 聊天功能

傳回

本機快取的豐富通訊服務 (RCS) 聊天功能。

屬性

Windows 需求

應用程式功能
chat chatSystem smsSend

適用於

GetCachedCapabilitiesAsync(String, String)

透過指定的 RcsTransport TransportId,以非同步方式取得本機快取的 Rich Communication Services (RCS) 聊天功能。

public:
 static IAsyncOperation<ChatCapabilities ^> ^ GetCachedCapabilitiesAsync(Platform::String ^ address, Platform::String ^ transportId);
/// [Windows.Foundation.Metadata.Overload("GetCachedCapabilitiesForTransportAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<ChatCapabilities> GetCachedCapabilitiesAsync(winrt::hstring const& address, winrt::hstring const& transportId);
[Windows.Foundation.Metadata.Overload("GetCachedCapabilitiesForTransportAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<ChatCapabilities> GetCachedCapabilitiesAsync(string address, string transportId);
function getCachedCapabilitiesAsync(address, transportId)
Public Shared Function GetCachedCapabilitiesAsync (address As String, transportId As String) As IAsyncOperation(Of ChatCapabilities)

參數

address
String

Platform::String

winrt::hstring

要取得豐富通訊服務的電話號碼 (RCS) 聊天功能

transportId
String

Platform::String

winrt::hstring

用來取得豐富通訊服務 (RCS) 聊天功能的特定傳輸識別碼

傳回

本機快取的豐富通訊服務 (RCS) 聊天功能。

屬性

Windows 需求

裝置系列
Windows 10, version 1809 (已於 10.0.17763.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v7.0 引進)
應用程式功能
chat chatSystem smsSend

適用於