편집

다음을 통해 공유


Runtime.StartWWAN Method

Definition

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
Action<Exception>

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.

Applies to