UssdSession.CreateFromNetworkAccountId(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a USSD session for the mobile device associated with the supplied network account ID.
Note
This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.
If you want to use this API and publish your app to the Microsoft Store, then you'll need special approval. For more information, see the Restricted capabilities section in the App capability declarations topic.
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
Parameters
- networkAccountId
-
String
Platform::String
winrt::hstring
The network account ID to use to select the corresponding mobile broadband device to use for the USSD session.
Returns
The USSD session for the mobile device associated with the supplied network account ID.
Windows requirements
App capabilities |
cellularDeviceControl
cellularDeviceIdentity
|