ClassLoader ClassLoader Constructors

Definition

Overloads

ClassLoader()

Constructs a new instance of this class with the system class loader as its parent.

ClassLoader(ClassLoader) ClassLoader(ClassLoader)

Constructs a new instance of this class with the specified class loader as its parent.

ClassLoader(IntPtr, JniHandleOwnership) ClassLoader(IntPtr, JniHandleOwnership)

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

ClassLoader()

Constructs a new instance of this class with the system class loader as its parent.

[Android.Runtime.Register(".ctor", "()V", "")]
protected ClassLoader ();

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.

ClassLoader(ClassLoader) ClassLoader(ClassLoader)

Constructs a new instance of this class with the specified class loader as its parent.

[Android.Runtime.Register(".ctor", "(Ljava/lang/ClassLoader;)V", "")]
protected ClassLoader (Java.Lang.ClassLoader parent);
new Java.Lang.ClassLoader : Java.Lang.ClassLoader -> Java.Lang.ClassLoader

Parameters

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.

ClassLoader(IntPtr, JniHandleOwnership) ClassLoader(IntPtr, JniHandleOwnership)

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

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

Parameters

javaReference
IntPtr IntPtr

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership 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