IOError 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
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
- 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.