SecondaryAuthenticationFactorAuthentication.AbortAuthenticationAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Aborts an authentication.
Note
This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft to use the secondaryAuthenticationFactor capability, calls to this API will fail. To apply for approval, contact cdfonboard@microsoft.com. For more information on capabilities, see App capability declarations. For an overview of the Companion Device Framework, see the Windows Unlock with companion (IoT) devices overview.
public:
virtual IAsyncAction ^ AbortAuthenticationAsync(Platform::String ^ errorLogMessage) = AbortAuthenticationAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction AbortAuthenticationAsync(winrt::hstring const& errorLogMessage);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorAuthentication is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
IAsyncAction AbortAuthenticationAsync(winrt::hstring const& errorLogMessage);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction AbortAuthenticationAsync(string errorLogMessage);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorAuthentication is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
public IAsyncAction AbortAuthenticationAsync(string errorLogMessage);
function abortAuthenticationAsync(errorLogMessage)
Public Function AbortAuthenticationAsync (errorLogMessage As String) As IAsyncAction
Parameters
- errorLogMessage
-
String
Platform::String
winrt::hstring
An error message to log.
Returns
This method does not return a value.
- Attributes