Compartilhar via


AuthenticationException Constructors

Definition

Overloads

AuthenticationException()

Creates a new AuthenticationException with a null detail message.

AuthenticationException(String)

Creates a new AuthenticationException with the specified message.

AuthenticationException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

AuthenticationException(String, Throwable)

Creates a new AuthenticationException with the specified detail message and cause.

AuthenticationException()

Creates a new AuthenticationException with a null detail message.

[Android.Runtime.Register(".ctor", "()V", "")]
public AuthenticationException ();
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

AuthenticationException(String)

Creates a new AuthenticationException with the specified message.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public AuthenticationException (string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Org.Apache.Http.Authentication.AuthenticationException : string -> Org.Apache.Http.Authentication.AuthenticationException

Parameters

message
String
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

AuthenticationException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected AuthenticationException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Authentication.AuthenticationException : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Authentication.AuthenticationException

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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

AuthenticationException(String, Throwable)

Creates a new AuthenticationException with the specified detail message and cause.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public AuthenticationException (string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Org.Apache.Http.Authentication.AuthenticationException : string * Java.Lang.Throwable -> Org.Apache.Http.Authentication.AuthenticationException

Parameters

message
String
cause
Throwable
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