UncheckedIOException 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
| Name | Description |
|---|---|
| UncheckedIOException(IOException) |
Constructs an instance of this class. |
| UncheckedIOException(IntPtr, JniHandleOwnership) |
Creates a managed instance that represents an existing Java object. |
| UncheckedIOException(String, IOException) |
Constructs an instance of this class. |
UncheckedIOException(IOException)
Constructs an instance of this class.
[Android.Runtime.Register(".ctor", "(Ljava/io/IOException;)V", "", ApiSince=24)]
public UncheckedIOException(Java.IO.IOException? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/io/IOException;)V", "", ApiSince=24)>]
new Java.IO.UncheckedIOException : Java.IO.IOException -> Java.IO.UncheckedIOException
Parameters
- cause
- IOException
the IOException
- Attributes
Remarks
Constructs an instance of this class.
Java documentation for java.io.UncheckedIOException.UncheckedIOException(java.io.IOException).
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
UncheckedIOException(IntPtr, JniHandleOwnership)
Creates a managed instance that represents an existing Java object.
protected UncheckedIOException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.IO.UncheckedIOException : nativeint * Android.Runtime.JniHandleOwnership -> Java.IO.UncheckedIOException
Parameters
- javaReference
-
IntPtr
nativeint
A JNI reference to the Java object.
- transfer
- JniHandleOwnership
Specifies whether ownership of the JNI reference transfers to this instance.
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
UncheckedIOException(String, IOException)
Constructs an instance of this class.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/io/IOException;)V", "", ApiSince=24)]
public UncheckedIOException(string? message, Java.IO.IOException? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/io/IOException;)V", "", ApiSince=24)>]
new Java.IO.UncheckedIOException : string * Java.IO.IOException -> Java.IO.UncheckedIOException
Parameters
- message
- String
the detail message, can be null
- cause
- IOException
the IOException
- Attributes
Remarks
Constructs an instance of this class.
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.