Udostępnij za pośrednictwem


NotActiveException Constructors

Definition

Overloads

NotActiveException()

Constructor to create a new NotActiveException without a reason.

NotActiveException(String)

Constructor to create a new NotActiveException with the reason given.

NotActiveException(IntPtr, JniHandleOwnership)

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

NotActiveException()

Constructor to create a new NotActiveException without a reason.

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

Remarks

Constructor to create a new NotActiveException without a reason.

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

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

NotActiveException(String)

Constructor to create a new NotActiveException with the reason given.

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

Parameters

reason
String

a String describing the reason for the exception.

Attributes

Remarks

Constructor to create a new NotActiveException with the reason given.

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

NotActiveException(IntPtr, JniHandleOwnership)

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

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

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