CrossDeviceAuthenticationException Constructors
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.
Overloads
| Name | Description |
|---|---|
| CrossDeviceAuthenticationException(CrossDeviceAuthenticationExceptionErrorCode) |
Creates a cross-device authentication exception with the specified error code. |
| CrossDeviceAuthenticationException(CrossDeviceAuthenticationExceptionErrorCode, String) |
Creates a cross-device authentication exception with the specified error code and detail message. |
| CrossDeviceAuthenticationException(CrossDeviceAuthenticationExceptionErrorCode, String, Throwable) |
Creates a cross-device authentication exception with the specified error code, detail message, and cause. |
CrossDeviceAuthenticationException(CrossDeviceAuthenticationExceptionErrorCode)
Creates a cross-device authentication exception with the specified error code.
[Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=37)]
public CrossDeviceAuthenticationException(Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode errorCode);
[<Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=37)>]
new Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationException : Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode -> Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationException
Parameters
Value is one of the following: Unknown; Unauthorized; DecryptionFailed; InvalidPackage; InvalidTimestamp; SerializationFailed; NotInForeground; CompanionDeviceManagerNotPresent
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
CrossDeviceAuthenticationException(CrossDeviceAuthenticationExceptionErrorCode, String)
Creates a cross-device authentication exception with the specified error code and detail message.
[Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=37)]
public CrossDeviceAuthenticationException(Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode errorCode, string message);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=37)>]
new Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationException : Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode * string -> Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationException
Parameters
Value is one of the following: Unknown; Unauthorized; DecryptionFailed; InvalidPackage; InvalidTimestamp; SerializationFailed; NotInForeground; CompanionDeviceManagerNotPresent
- message
- String
The detail message for the exception.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
CrossDeviceAuthenticationException(CrossDeviceAuthenticationExceptionErrorCode, String, Throwable)
Creates a cross-device authentication exception with the specified error code, detail message, and cause.
[Android.Runtime.Register(".ctor", "(ILjava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=37)]
public CrossDeviceAuthenticationException(Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode errorCode, string message, Java.Lang.Throwable cause);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=37)>]
new Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationException : Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode * string * Java.Lang.Throwable -> Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationException
Parameters
Value is one of the following: Unknown; Unauthorized; DecryptionFailed; InvalidPackage; InvalidTimestamp; SerializationFailed; NotInForeground; CompanionDeviceManagerNotPresent
- message
- String
The detail message for the exception.
- cause
- Throwable
The throwable that caused this exception.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.