Sdílet prostřednictvím


ProtectionDomain Constructors

Definition

Overloads

ProtectionDomain(CodeSource, PermissionCollection)
ProtectionDomain(IntPtr, JniHandleOwnership)

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

ProtectionDomain(CodeSource, PermissionCollection, ClassLoader, IPrincipal[])

ProtectionDomain(CodeSource, PermissionCollection)

[Android.Runtime.Register(".ctor", "(Ljava/security/CodeSource;Ljava/security/PermissionCollection;)V", "")]
public ProtectionDomain (Java.Security.CodeSource? codesource, Java.Security.PermissionCollection? permissions);
[<Android.Runtime.Register(".ctor", "(Ljava/security/CodeSource;Ljava/security/PermissionCollection;)V", "")>]
new Java.Security.ProtectionDomain : Java.Security.CodeSource * Java.Security.PermissionCollection -> Java.Security.ProtectionDomain

Parameters

codesource
CodeSource
permissions
PermissionCollection
Attributes

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

ProtectionDomain(IntPtr, JniHandleOwnership)

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

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

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

ProtectionDomain(CodeSource, PermissionCollection, ClassLoader, IPrincipal[])

[Android.Runtime.Register(".ctor", "(Ljava/security/CodeSource;Ljava/security/PermissionCollection;Ljava/lang/ClassLoader;[Ljava/security/Principal;)V", "")]
public ProtectionDomain (Java.Security.CodeSource? codesource, Java.Security.PermissionCollection? permissions, Java.Lang.ClassLoader? classloader, Java.Security.IPrincipal[]? principals);
[<Android.Runtime.Register(".ctor", "(Ljava/security/CodeSource;Ljava/security/PermissionCollection;Ljava/lang/ClassLoader;[Ljava/security/Principal;)V", "")>]
new Java.Security.ProtectionDomain : Java.Security.CodeSource * Java.Security.PermissionCollection * Java.Lang.ClassLoader * Java.Security.IPrincipal[] -> Java.Security.ProtectionDomain

Parameters

codesource
CodeSource
permissions
PermissionCollection
classloader
ClassLoader
principals
IPrincipal[]
Attributes

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