共用方式為


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 僅供內部使用,不應在您的程式碼中使用。

屬性

適用於