ConnectivityManager.AcquireConnectionAsync(CellularApnContext) ConnectivityManager.AcquireConnectionAsync(CellularApnContext) ConnectivityManager.AcquireConnectionAsync(CellularApnContext) ConnectivityManager.AcquireConnectionAsync(CellularApnContext) ConnectivityManager.AcquireConnectionAsync(CellularApnContext) Method

Definition

Establishes a connection to a specific access point on a network. The request is defined using a CellularApnContext object.

Note

This functionality is only available to mobile operator apps and UWP apps given privileged access by mobile network operators. Mobile operators must enable the cellularDeviceControl restricted capability to use this API.

public : static IAsyncOperation<ConnectionSession> AcquireConnectionAsync(CellularApnContext cellularApnContext)
static IAsyncOperation<ConnectionSession> AcquireConnectionAsync(CellularApnContext cellularApnContext) const;
public static IAsyncOperation<ConnectionSession> AcquireConnectionAsync(CellularApnContext cellularApnContext)
Public Shared Function AcquireConnectionAsync(cellularApnContext As CellularApnContext) As IAsyncOperation(Of ConnectionSession)
Windows.Networking.Connectivity.ConnectivityManager.acquireConnectionAsync(cellularApnContext).done( /* Your success and error handlers */ );

Parameters

cellularApnContext
CellularApnContext CellularApnContext CellularApnContext

Provides specific details about the APN.

Returns

Additional features and requirements

Capabilities
cellularDeviceControl

See also