Partager via


NotSerializableException Constructors

Definition

Overloads

NotSerializableException()

Constructs a NotSerializableException object.

NotSerializableException(String)

Constructs a NotSerializableException object with message string.

NotSerializableException(IntPtr, JniHandleOwnership)

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

NotSerializableException()

Constructs a NotSerializableException object.

[Android.Runtime.Register(".ctor", "()V", "")]
public NotSerializableException ();
Attributes

Remarks

Constructs a NotSerializableException object.

Java documentation for java.io.NotSerializableException.NotSerializableException().

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

NotSerializableException(String)

Constructs a NotSerializableException object with message string.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public NotSerializableException (string? classname);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.IO.NotSerializableException : string -> Java.IO.NotSerializableException

Parameters

classname
String

Class of the instance being serialized/deserialized.

Attributes

Remarks

Constructs a NotSerializableException object with message string.

Java documentation for java.io.NotSerializableException.NotSerializableException(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

NotSerializableException(IntPtr, JniHandleOwnership)

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

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

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