MicrosoftAccountMultiFactorAuthenticationManager.GetOneTimePassCodeAsync 方法

定义

此 API 仅供内部使用,不应在代码中使用。

public:
 virtual IAsyncOperation<MicrosoftAccountMultiFactorOneTimeCodedInfo ^> ^ GetOneTimePassCodeAsync(Platform::String ^ userAccountId, unsigned int codeLength) = GetOneTimePassCodeAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<MicrosoftAccountMultiFactorOneTimeCodedInfo> GetOneTimePassCodeAsync(winrt::hstring const& userAccountId, uint32_t const& codeLength);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<MicrosoftAccountMultiFactorOneTimeCodedInfo> GetOneTimePassCodeAsync(string userAccountId, uint codeLength);
function getOneTimePassCodeAsync(userAccountId, codeLength)
Public Function GetOneTimePassCodeAsync (userAccountId As String, codeLength As UInteger) As IAsyncOperation(Of MicrosoftAccountMultiFactorOneTimeCodedInfo)

参数

userAccountId
String

Platform::String

winrt::hstring

此 API 仅供内部使用,不应在代码中使用。

codeLength
UInt32

unsigned int

uint32_t

此 API 仅供内部使用,不应在代码中使用。

返回

此 API 仅供内部使用,不应在代码中使用。

属性

适用于