MobileBroadbandSlotManager.SetCurrentSlotAsync(Int32) 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.
Asynchronously switches to the slot specified by the 0-based slot index.
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 IAsyncOperation<MobileBroadbandModemStatus> ^ SetCurrentSlotAsync(int slotIndex) = SetCurrentSlotAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<MobileBroadbandModemStatus> SetCurrentSlotAsync(int const& slotIndex);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<MobileBroadbandModemStatus> SetCurrentSlotAsync(int slotIndex);
function setCurrentSlotAsync(slotIndex)
Public Function SetCurrentSlotAsync (slotIndex As Integer) As IAsyncOperation(Of MobileBroadbandModemStatus)
Parameters
- slotIndex
-
Int32
int
The 0-based slot index to switch to.
Returns
An asynchronous operation. On successful completion, the specified slot has been switched to.
- Attributes
Windows requirements
App capabilities |
cellularDeviceControl
cellularDeviceIdentity
|