Runtime.StartWWAN 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.
Overloads
StartWWAN(Uri) |
This method forces the WAN network access to be woken up. |
StartWWAN(Uri, Action<Exception>) |
This method forces the WAN network access to be woken up asynchronously. |
StartWWAN(Uri)
This method forces the WAN network access to be woken up.
public static void StartWWAN (Uri uri);
static member StartWWAN : Uri -> unit
Parameters
- uri
- Uri
Uri to probe to start the WWAN connection.
Remarks
When the phone is not on WiFi, this will force the networking stack to start.
Applies to
StartWWAN(Uri, Action<Exception>)
This method forces the WAN network access to be woken up asynchronously.
public static void StartWWAN (Uri uri, Action<Exception> callback);
static member StartWWAN : Uri * Action<Exception> -> unit
Parameters
- uri
- Uri
Uri to probe to start the WWAN connection.
Callback that will be called when the WWAN connection has been started up. This callback will be invoked on the main thread. If there was an exception while trying to start the WWAN, it will be passed to the callback, otherwise null is passed.
Remarks
When the phone is not on WiFi, this will force the networking stack to start.