ChatCapabilitiesManager.GetCapabilitiesFromNetworkAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetCapabilitiesFromNetworkAsync(String) |
以非同步方式取得服務提供者指定電話號碼的豐富通訊服務 (RCS) 聊天功能。 |
GetCapabilitiesFromNetworkAsync(String, String) |
透過服務提供者的指定 RcsTransport TransportId,以非同步方式取得 RTS (RCS) 指定電話號碼的聊天功能。 |
GetCapabilitiesFromNetworkAsync(String)
以非同步方式取得服務提供者指定電話號碼的豐富通訊服務 (RCS) 聊天功能。
public:
static IAsyncOperation<ChatCapabilities ^> ^ GetCapabilitiesFromNetworkAsync(Platform::String ^ address);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<ChatCapabilities> GetCapabilitiesFromNetworkAsync(winrt::hstring const& address);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Overload("GetCapabilitiesFromNetworkAsync")]
static IAsyncOperation<ChatCapabilities> GetCapabilitiesFromNetworkAsync(winrt::hstring const& address);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<ChatCapabilities> GetCapabilitiesFromNetworkAsync(string address);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Overload("GetCapabilitiesFromNetworkAsync")]
public static IAsyncOperation<ChatCapabilities> GetCapabilitiesFromNetworkAsync(string address);
function getCapabilitiesFromNetworkAsync(address)
Public Shared Function GetCapabilitiesFromNetworkAsync (address As String) As IAsyncOperation(Of ChatCapabilities)
參數
- address
-
String
Platform::String
winrt::hstring
要取得豐富通訊服務的電話號碼, (RCS) 聊天功能。
傳回
豐富的通訊服務 (RCS) 服務提供者的聊天功能。
- 屬性
Windows 需求
應用程式功能 |
chat
chatSystem
smsSend
|
適用於
GetCapabilitiesFromNetworkAsync(String, String)
透過服務提供者的指定 RcsTransport TransportId,以非同步方式取得 RTS (RCS) 指定電話號碼的聊天功能。
public:
static IAsyncOperation<ChatCapabilities ^> ^ GetCapabilitiesFromNetworkAsync(Platform::String ^ address, Platform::String ^ transportId);
/// [Windows.Foundation.Metadata.Overload("GetCapabilitiesFromNetworkForTransportAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<ChatCapabilities> GetCapabilitiesFromNetworkAsync(winrt::hstring const& address, winrt::hstring const& transportId);
[Windows.Foundation.Metadata.Overload("GetCapabilitiesFromNetworkForTransportAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<ChatCapabilities> GetCapabilitiesFromNetworkAsync(string address, string transportId);
function getCapabilitiesFromNetworkAsync(address, transportId)
Public Shared Function GetCapabilitiesFromNetworkAsync (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
|