Dela via


MobileBroadbandPin.ChangeAsync(String, String) Method

Definition

Starts an asynchronous operation to change an already-enabled mobile broadband PIN.

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

Parameters

currentPin
String

Platform::String

winrt::hstring

The current mobile broadband PIN.

newPin
String

Platform::String

winrt::hstring

The new mobile broadband PIN.

Returns

An asynchronous operation that returns the result.

Attributes

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Applies to