public class SemaphoreSecurity extends NativeObjectSecurity
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.AccessControl.SemaphoreSecurity
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Threading.AccessControl, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Threading.AccessControl
|
static java.lang.String |
className
Qualified class name: System.Security.AccessControl.SemaphoreSecurity
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
SemaphoreSecurity() |
SemaphoreSecurity(java.lang.Object instance)
Internal constructor.
|
SemaphoreSecurity(java.lang.String name,
AccessControlSections includeSections) |
| Modifier and Type | Method and Description |
|---|---|
AccessRule |
AccessRuleFactory(IdentityReference identityReference,
int accessMask,
boolean isInherited,
InheritanceFlags inheritanceFlags,
PropagationFlags propagationFlags,
AccessControlType type) |
void |
AddAccessRule(SemaphoreAccessRule rule) |
void |
AddAuditRule(SemaphoreAuditRule rule) |
AuditRule |
AuditRuleFactory(IdentityReference identityReference,
int accessMask,
boolean isInherited,
InheritanceFlags inheritanceFlags,
PropagationFlags propagationFlags,
AuditFlags flags) |
static SemaphoreSecurity |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into SemaphoreSecurity, a cast assert is made to check if types are compatible. |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
boolean |
RemoveAccessRule(SemaphoreAccessRule rule) |
void |
RemoveAccessRuleAll(SemaphoreAccessRule rule) |
void |
RemoveAccessRuleSpecific(SemaphoreAccessRule rule) |
boolean |
RemoveAuditRule(SemaphoreAuditRule rule) |
void |
RemoveAuditRuleAll(SemaphoreAuditRule rule) |
void |
RemoveAuditRuleSpecific(SemaphoreAuditRule rule) |
void |
ResetAccessRule(SemaphoreAccessRule rule) |
void |
SetAccessRule(SemaphoreAccessRule rule) |
void |
SetAuditRule(SemaphoreAuditRule rule) |
void |
setJCOInstance(JCObject instance) |
GetAccessRules, GetAuditRulesgetAccessRightType, getAccessRuleType, getAreAccessRulesCanonical, getAreAccessRulesProtected, getAreAuditRulesCanonical, getAreAuditRulesProtected, getAuditRuleType, GetGroup, GetOwner, GetSecurityDescriptorBinaryForm, GetSecurityDescriptorSddlForm, IsSddlConversionSupported, ModifyAccessRule, ModifyAuditRule, PurgeAccessRules, PurgeAuditRules, SetAccessRuleProtection, SetAuditRuleProtection, SetGroup, SetOwner, SetSecurityDescriptorBinaryForm, SetSecurityDescriptorBinaryForm, SetSecurityDescriptorBinaryForm, SetSecurityDescriptorBinaryForm, SetSecurityDescriptorSddlForm, SetSecurityDescriptorSddlFormpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public SemaphoreSecurity()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
InvalidOperationException,
OverflowException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionOverflowExceptionpublic SemaphoreSecurity(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic SemaphoreSecurity(java.lang.String name,
AccessControlSections includeSections)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
LockRecursionException,
SynchronizationLockException,
OutOfMemoryException,
UnauthorizedAccessException,
KeyNotFoundException,
PrivilegeNotHeldException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
OverflowException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionLockRecursionExceptionSynchronizationLockExceptionOutOfMemoryExceptionUnauthorizedAccessExceptionKeyNotFoundExceptionPrivilegeNotHeldExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOverflowExceptionpublic AccessRule AccessRuleFactory(IdentityReference identityReference, int accessMask, boolean isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, InvalidOperationException, FormatException
AccessRuleFactory in class ObjectSecurityjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionpublic void AddAccessRule(SemaphoreAccessRule rule) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, LockRecursionException, PlatformNotSupportedException, AbandonedMutexException, SynchronizationLockException
public void AddAuditRule(SemaphoreAuditRule rule) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, LockRecursionException, PlatformNotSupportedException, AbandonedMutexException, SynchronizationLockException
public AuditRule AuditRuleFactory(IdentityReference identityReference, int accessMask, boolean isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, InvalidOperationException, FormatException
AuditRuleFactory in class ObjectSecurityjava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionpublic static SemaphoreSecurity cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into SemaphoreSecurity, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSemaphoreSecurity instancejava.lang.Throwable - in case of error during cast operationpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NativeObjectSecurityString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NativeObjectSecurityString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NativeObjectSecurityObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NativeObjectSecurityString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NativeObjectSecurityJCType representing the CLR Type of the instantiated Classpublic boolean RemoveAccessRule(SemaphoreAccessRule rule) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, LockRecursionException, PlatformNotSupportedException, AbandonedMutexException, SynchronizationLockException
public void RemoveAccessRuleAll(SemaphoreAccessRule rule) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, LockRecursionException, PlatformNotSupportedException, AbandonedMutexException, SynchronizationLockException
public void RemoveAccessRuleSpecific(SemaphoreAccessRule rule) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, LockRecursionException, PlatformNotSupportedException, AbandonedMutexException, SynchronizationLockException
public boolean RemoveAuditRule(SemaphoreAuditRule rule) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, LockRecursionException, PlatformNotSupportedException, AbandonedMutexException, SynchronizationLockException
public void RemoveAuditRuleAll(SemaphoreAuditRule rule) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, LockRecursionException, PlatformNotSupportedException, AbandonedMutexException, SynchronizationLockException
public void RemoveAuditRuleSpecific(SemaphoreAuditRule rule) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, LockRecursionException, PlatformNotSupportedException, AbandonedMutexException, SynchronizationLockException
public void ResetAccessRule(SemaphoreAccessRule rule) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, LockRecursionException, PlatformNotSupportedException, AbandonedMutexException, SynchronizationLockException
public void SetAccessRule(SemaphoreAccessRule rule) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, LockRecursionException, PlatformNotSupportedException, AbandonedMutexException, SynchronizationLockException
public void SetAuditRule(SemaphoreAuditRule rule) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, LockRecursionException, PlatformNotSupportedException, AbandonedMutexException, SynchronizationLockException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NativeObjectSecurity