UssdSession.CreateFromNetworkAccountId(String) 方法

定義

為與所提供網路帳戶識別碼相關聯的行動裝置建立 USSD 會話。

注意

這項功能僅適用于行動電信業者提供特殊許可權存取權的電信業者應用程式和 UWP 應用程式。

如果您想要使用此 API 並將您的應用程式發佈至 Microsoft Store,則需要特殊核准。 如需詳細資訊,請參閱應用程式功能宣告主題中的受限制功能一節。

public:
 static UssdSession ^ CreateFromNetworkAccountId(Platform::String ^ networkAccountId);
 static UssdSession CreateFromNetworkAccountId(winrt::hstring const& networkAccountId);
public static UssdSession CreateFromNetworkAccountId(string networkAccountId);
function createFromNetworkAccountId(networkAccountId)
Public Shared Function CreateFromNetworkAccountId (networkAccountId As String) As UssdSession

參數

networkAccountId
String

Platform::String

winrt::hstring

要用來選取要用於 USSD 會話之對應行動寬頻裝置的網路帳戶識別碼。

傳回

與所提供網路帳戶識別碼相關聯的行動裝置 USSD 會話。

Windows 需求

應用程式功能
cellularDeviceControl cellularDeviceIdentity

適用於