次の方法で共有


IOError Constructors

Definition

Overloads

IOError(Throwable)

Constructs a new instance of IOError with the specified cause.

IOError(IntPtr, JniHandleOwnership)

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

IOError(Throwable)

Constructs a new instance of IOError with the specified cause.

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

Parameters

cause
Throwable

The cause of this error, or null if the cause is not known

Attributes

Remarks

Constructs a new instance of IOError with the specified cause. The IOError is created with the detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

Java documentation for java.io.IOError.IOError(java.lang.Throwable).

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

IOError(IntPtr, JniHandleOwnership)

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

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

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