Jaa


MobileBroadbandModem.GetIsPassthroughEnabledAsync Method

Definition

Overloads

GetIsPassthroughEnabledAsync(Int32)

Asynchronously retrieves a value indicating whether passthrough mode is enabled (for either the active or inactive slot, for Dual Sim Single Active devices).

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 to request special approval to use the custom capability Microsoft.eSIMManagement_8wekyb3d8bbwe. For more info, see Custom capabilities.

GetIsPassthroughEnabledAsync()

Gets a value indicating whether passthrough mode is enabled.

GetIsPassthroughEnabledAsync(Int32)

Asynchronously retrieves a value indicating whether passthrough mode is enabled (for either the active or inactive slot, for Dual Sim Single Active devices).

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 to request special approval to use the custom capability Microsoft.eSIMManagement_8wekyb3d8bbwe. For more info, see Custom capabilities.

public:
 virtual IAsyncOperation<bool> ^ GetIsPassthroughEnabledAsync(int slotindex) = GetIsPassthroughEnabledAsync;
/// [Windows.Foundation.Metadata.Overload("GetIsPassthroughEnabledWithSlotIndexAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> GetIsPassthroughEnabledAsync(int const& slotindex);
[Windows.Foundation.Metadata.Overload("GetIsPassthroughEnabledWithSlotIndexAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> GetIsPassthroughEnabledAsync(int slotindex);
function getIsPassthroughEnabledAsync(slotindex)
Public Function GetIsPassthroughEnabledAsync (slotindex As Integer) As IAsyncOperation(Of Boolean)

Parameters

slotindex
Int32

int

The 0-based slot index (slot number) to query about.

Returns

An asynchronous object which, when it completes, contains a value of true if passthrough mode is enabled; otherwise, false.

Attributes

Windows requirements

Device family
Windows 11 Insider Preview (introduced in 10.0.23504.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v15.0)
App capabilities
Microsoft.eSIMManagement_8wekyb3d8bbwe

Applies to

GetIsPassthroughEnabledAsync()

Gets a value indicating whether passthrough mode is enabled.

public:
 virtual IAsyncOperation<bool> ^ GetIsPassthroughEnabledAsync() = GetIsPassthroughEnabledAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> GetIsPassthroughEnabledAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> GetIsPassthroughEnabledAsync();
function getIsPassthroughEnabledAsync()
Public Function GetIsPassthroughEnabledAsync () As IAsyncOperation(Of Boolean)

Returns

An asynchronous operation that returns a boolean value on completion. The value is true if passthrough is enabled; otherwise, false.

Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)
App capabilities
cellularDeviceControl cellularDeviceIdentity

Applies to