Partager via


UnsupportedCharsetException Constructors

Definition

Overloads

UnsupportedCharsetException(String)

Constructs an instance of this class.

UnsupportedCharsetException(IntPtr, JniHandleOwnership)

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

UnsupportedCharsetException(String)

Constructs an instance of this class.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public UnsupportedCharsetException (string? charsetName);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Nio.Charset.UnsupportedCharsetException : string -> Java.Nio.Charset.UnsupportedCharsetException

Parameters

charsetName
String

The name of the unsupported charset

Attributes

Remarks

Constructs an instance of this class.

Java documentation for java.nio.charset.UnsupportedCharsetException.UnsupportedCharsetException(java.lang.String).

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

UnsupportedCharsetException(IntPtr, JniHandleOwnership)

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

protected UnsupportedCharsetException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Nio.Charset.UnsupportedCharsetException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Nio.Charset.UnsupportedCharsetException

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