C# Class System.Security.AccessControl.SemaphoreSecurity

Inheritance: NativeObjectSecurity
显示文件 Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
AccessRuleFactory ( IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type ) : AccessRule
AccessRuleFactory ( System identityReference, int accessMask, bool isInherited, System inheritanceFlags, System propagationFlags, System type ) : System.Security.AccessControl.AccessRule
AddAccessRule ( SemaphoreAccessRule rule ) : void
AddAccessRule ( System rule ) : void
AddAuditRule ( SemaphoreAuditRule rule ) : void
AddAuditRule ( System rule ) : void
AuditRuleFactory ( IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags ) : AuditRule
AuditRuleFactory ( System identityReference, int accessMask, bool isInherited, System inheritanceFlags, System propagationFlags, System flags ) : System.Security.AccessControl.AuditRule
RemoveAccessRule ( SemaphoreAccessRule rule ) : bool
RemoveAccessRule ( System rule ) : bool
RemoveAccessRuleAll ( SemaphoreAccessRule rule ) : void
RemoveAccessRuleAll ( System rule ) : void
RemoveAccessRuleSpecific ( SemaphoreAccessRule rule ) : void
RemoveAccessRuleSpecific ( System rule ) : void
RemoveAuditRule ( SemaphoreAuditRule rule ) : bool
RemoveAuditRule ( System rule ) : bool
RemoveAuditRuleAll ( SemaphoreAuditRule rule ) : void
RemoveAuditRuleAll ( System rule ) : void
RemoveAuditRuleSpecific ( SemaphoreAuditRule rule ) : void
RemoveAuditRuleSpecific ( System rule ) : void
ResetAccessRule ( SemaphoreAccessRule rule ) : void
ResetAccessRule ( System rule ) : void
SemaphoreSecurity ( )
SemaphoreSecurity ( string name, System includeSections )
SemaphoreSecurity ( ) : System
SemaphoreSecurity ( String name, AccessControlSections includeSections ) : System
SetAccessRule ( SemaphoreAccessRule rule ) : void
SetAccessRule ( System rule ) : void
SetAuditRule ( SemaphoreAuditRule rule ) : void
SetAuditRule ( System rule ) : void

Private Methods

Method Description
GetAccessControlSectionsFromChanges ( ) : AccessControlSections
Persist ( SafeWaitHandle handle ) : void
SemaphoreSecurity ( SafeWaitHandle handle, AccessControlSections includeSections ) : System
_HandleErrorCode ( int errorCode, string name, SafeHandle handle, object context ) : Exception

Method Details

AccessRuleFactory() public method

public AccessRuleFactory ( IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type ) : AccessRule
identityReference System.Security.Principal.IdentityReference
accessMask int
isInherited bool
inheritanceFlags InheritanceFlags
propagationFlags PropagationFlags
type AccessControlType
return AccessRule

AccessRuleFactory() public method

public AccessRuleFactory ( System identityReference, int accessMask, bool isInherited, System inheritanceFlags, System propagationFlags, System type ) : System.Security.AccessControl.AccessRule
identityReference System
accessMask int
isInherited bool
inheritanceFlags System
propagationFlags System
type System
return System.Security.AccessControl.AccessRule

AddAccessRule() public method

public AddAccessRule ( SemaphoreAccessRule rule ) : void
rule SemaphoreAccessRule
return void

AddAccessRule() public method

public AddAccessRule ( System rule ) : void
rule System
return void

AddAuditRule() public method

public AddAuditRule ( SemaphoreAuditRule rule ) : void
rule SemaphoreAuditRule
return void

AddAuditRule() public method

public AddAuditRule ( System rule ) : void
rule System
return void

AuditRuleFactory() public method

public AuditRuleFactory ( IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags ) : AuditRule
identityReference System.Security.Principal.IdentityReference
accessMask int
isInherited bool
inheritanceFlags InheritanceFlags
propagationFlags PropagationFlags
flags AuditFlags
return AuditRule

AuditRuleFactory() public method

public AuditRuleFactory ( System identityReference, int accessMask, bool isInherited, System inheritanceFlags, System propagationFlags, System flags ) : System.Security.AccessControl.AuditRule
identityReference System
accessMask int
isInherited bool
inheritanceFlags System
propagationFlags System
flags System
return System.Security.AccessControl.AuditRule

RemoveAccessRule() public method

public RemoveAccessRule ( SemaphoreAccessRule rule ) : bool
rule SemaphoreAccessRule
return bool

RemoveAccessRule() public method

public RemoveAccessRule ( System rule ) : bool
rule System
return bool

RemoveAccessRuleAll() public method

public RemoveAccessRuleAll ( SemaphoreAccessRule rule ) : void
rule SemaphoreAccessRule
return void

RemoveAccessRuleAll() public method

public RemoveAccessRuleAll ( System rule ) : void
rule System
return void

RemoveAccessRuleSpecific() public method

public RemoveAccessRuleSpecific ( SemaphoreAccessRule rule ) : void
rule SemaphoreAccessRule
return void

RemoveAccessRuleSpecific() public method

public RemoveAccessRuleSpecific ( System rule ) : void
rule System
return void

RemoveAuditRule() public method

public RemoveAuditRule ( SemaphoreAuditRule rule ) : bool
rule SemaphoreAuditRule
return bool

RemoveAuditRule() public method

public RemoveAuditRule ( System rule ) : bool
rule System
return bool

RemoveAuditRuleAll() public method

public RemoveAuditRuleAll ( SemaphoreAuditRule rule ) : void
rule SemaphoreAuditRule
return void

RemoveAuditRuleAll() public method

public RemoveAuditRuleAll ( System rule ) : void
rule System
return void

RemoveAuditRuleSpecific() public method

public RemoveAuditRuleSpecific ( SemaphoreAuditRule rule ) : void
rule SemaphoreAuditRule
return void

RemoveAuditRuleSpecific() public method

public RemoveAuditRuleSpecific ( System rule ) : void
rule System
return void

ResetAccessRule() public method

public ResetAccessRule ( SemaphoreAccessRule rule ) : void
rule SemaphoreAccessRule
return void

ResetAccessRule() public method

public ResetAccessRule ( System rule ) : void
rule System
return void

SemaphoreSecurity() public method

public SemaphoreSecurity ( )

SemaphoreSecurity() public method

public SemaphoreSecurity ( string name, System includeSections )
name string
includeSections System

SemaphoreSecurity() public method

public SemaphoreSecurity ( ) : System
return System

SemaphoreSecurity() public method

public SemaphoreSecurity ( String name, AccessControlSections includeSections ) : System
name String
includeSections AccessControlSections
return System

SetAccessRule() public method

public SetAccessRule ( SemaphoreAccessRule rule ) : void
rule SemaphoreAccessRule
return void

SetAccessRule() public method

public SetAccessRule ( System rule ) : void
rule System
return void

SetAuditRule() public method

public SetAuditRule ( SemaphoreAuditRule rule ) : void
rule SemaphoreAuditRule
return void

SetAuditRule() public method

public SetAuditRule ( System rule ) : void
rule System
return void