共用方式為


WriteAbortedException Constructors

Definition

Overloads

WriteAbortedException(IntPtr, JniHandleOwnership)

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

WriteAbortedException(String, Exception)

Constructs a WriteAbortedException with a string describing the exception and the exception causing the abort.

WriteAbortedException(IntPtr, JniHandleOwnership)

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

protected WriteAbortedException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.IO.WriteAbortedException : nativeint * Android.Runtime.JniHandleOwnership -> Java.IO.WriteAbortedException

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

WriteAbortedException(String, Exception)

Constructs a WriteAbortedException with a string describing the exception and the exception causing the abort.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Exception;)V", "")]
public WriteAbortedException (string? s, Java.Lang.Exception? ex);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Exception;)V", "")>]
new Java.IO.WriteAbortedException : string * Java.Lang.Exception -> Java.IO.WriteAbortedException

Parameters

s
String

String describing the exception.

ex
Exception

Exception causing the abort.

Attributes

Remarks

Constructs a WriteAbortedException with a string describing the exception and the exception causing the abort.

Java documentation for java.io.WriteAbortedException.WriteAbortedException(java.lang.String, java.lang.Exception).

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