UssdSession.Close Method

Definition

Closes the USSD session with the network.

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:
 virtual void Close() = Close;
void Close();
public void Close();
function close()
Public Sub Close ()

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Applies to