Share via


MobileBroadbandPin.EnableAsync(String) Method

Definition

Starts an asynchronous operation to enable a previously-disabled mobile broadband PIN.

public:
 virtual IAsyncOperation<MobileBroadbandPinOperationResult ^> ^ EnableAsync(Platform::String ^ currentPin) = EnableAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<MobileBroadbandPinOperationResult> EnableAsync(winrt::hstring const& currentPin);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<MobileBroadbandPinOperationResult> EnableAsync(string currentPin);
function enableAsync(currentPin)
Public Function EnableAsync (currentPin As String) As IAsyncOperation(Of MobileBroadbandPinOperationResult)

Parameters

currentPin
String

Platform::String

winrt::hstring

The current mobile broadband PIN.

Returns

An asynchronous operation that returns the result.

Attributes

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Applies to