MobileBroadbandPin.ChangeAsync(String, String) 方法

定义

启动异步操作以更改已启用的移动宽带 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)

参数

currentPin
String

Platform::String

winrt::hstring

当前移动宽带 PIN。

newPin
String

Platform::String

winrt::hstring

新的移动宽带 PIN。

返回

返回结果的异步操作。

属性

Windows 要求

应用功能
cellularDeviceControl cellularDeviceIdentity

适用于