SecureClassLoader 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
SecureClassLoader() |
Creates a new SecureClassLoader using the default parent class loader for delegation. |
SecureClassLoader(ClassLoader) |
Creates a new SecureClassLoader using the specified parent class loader for delegation. |
SecureClassLoader(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
SecureClassLoader()
Creates a new SecureClassLoader using the default parent class loader for delegation.
[Android.Runtime.Register(".ctor", "()V", "")]
protected SecureClassLoader ();
- Attributes
Remarks
Creates a new SecureClassLoader using the default parent class loader for delegation.
If there is a security manager, this method first calls the security manager's checkCreateClassLoader
method to ensure creation of a class loader is allowed.
Java documentation for java.security.SecureClassLoader.SecureClassLoader()
.
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
SecureClassLoader(ClassLoader)
Creates a new SecureClassLoader using the specified parent class loader for delegation.
[Android.Runtime.Register(".ctor", "(Ljava/lang/ClassLoader;)V", "")]
protected SecureClassLoader (Java.Lang.ClassLoader? parent);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/ClassLoader;)V", "")>]
new Java.Security.SecureClassLoader : Java.Lang.ClassLoader -> Java.Security.SecureClassLoader
Parameters
- parent
- ClassLoader
the parent ClassLoader
- Attributes
Remarks
Creates a new SecureClassLoader using the specified parent class loader for delegation.
If there is a security manager, this method first calls the security manager's checkCreateClassLoader
method to ensure creation of a class loader is allowed.
Java documentation for java.security.SecureClassLoader.SecureClassLoader(java.lang.ClassLoader)
.
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
SecureClassLoader(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected SecureClassLoader (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Security.SecureClassLoader : nativeint * Android.Runtime.JniHandleOwnership -> Java.Security.SecureClassLoader
Parameters
- 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.