AccessControlContext 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
| Name | Description |
|---|---|
| AccessControlContext(ProtectionDomain[]) | |
| AccessControlContext(AccessControlContext, IDomainCombiner) |
AccessControlContext(ProtectionDomain[])
[Android.Runtime.Register(".ctor", "([Ljava/security/ProtectionDomain;)V", "")]
public AccessControlContext(Java.Security.ProtectionDomain[]? context);
[<Android.Runtime.Register(".ctor", "([Ljava/security/ProtectionDomain;)V", "")>]
new Java.Security.AccessControlContext : Java.Security.ProtectionDomain[] -> Java.Security.AccessControlContext
Parameters
- context
- ProtectionDomain[]
the ProtectionDomain objects associated with this context. The non-duplicate domains are copied from the array. Subsequent changes to the array will not affect this AccessControlContext.
- Attributes
Remarks
Create an AccessControlContext with the given array of ProtectionDomain objects. Context must not be null. Duplicate domains will be removed from the context.
Java reference for java.security.AccessControlContext.AccessControlContext.
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
AccessControlContext(AccessControlContext, IDomainCombiner)
[Android.Runtime.Register(".ctor", "(Ljava/security/AccessControlContext;Ljava/security/DomainCombiner;)V", "")]
public AccessControlContext(Java.Security.AccessControlContext? acc, Java.Security.IDomainCombiner? combiner);
[<Android.Runtime.Register(".ctor", "(Ljava/security/AccessControlContext;Ljava/security/DomainCombiner;)V", "")>]
new Java.Security.AccessControlContext : Java.Security.AccessControlContext * Java.Security.IDomainCombiner -> Java.Security.AccessControlContext
Parameters
the AccessControlContext associated with the provided DomainCombiner.
- combiner
- IDomainCombiner
the DomainCombiner to be associated with the provided AccessControlContext.
- Attributes
Remarks
Create a new AccessControlContext with the given AccessControlContext and DomainCombiner. This constructor associates the provided DomainCombiner with the provided AccessControlContext.
Java reference for java.security.AccessControlContext.AccessControlContext.
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.