Partager via


OperationCanceledException Constructors

Definition

Overloads

OperationCanceledException()
OperationCanceledException(Throwable)
OperationCanceledException(String)
OperationCanceledException(IntPtr, JniHandleOwnership)

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

OperationCanceledException(String, Throwable)

OperationCanceledException()

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

OperationCanceledException(Throwable)

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public OperationCanceledException (Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")>]
new Android.Accounts.OperationCanceledException : Java.Lang.Throwable -> Android.Accounts.OperationCanceledException

Parameters

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

OperationCanceledException(String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public OperationCanceledException (string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.Accounts.OperationCanceledException : string -> Android.Accounts.OperationCanceledException

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

OperationCanceledException(IntPtr, JniHandleOwnership)

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

protected OperationCanceledException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Accounts.OperationCanceledException : nativeint * Android.Runtime.JniHandleOwnership -> Android.Accounts.OperationCanceledException

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

OperationCanceledException(String, Throwable)

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

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