EventWaitHandleSecurity.AccessRuleFactory 메서드

정의

지정된 액세스 권한, 액세스 제어 및 플래그를 사용하여 지정된 사용자에 대한 새 액세스 제어 규칙을 만듭니다.

public:
 override System::Security::AccessControl::AccessRule ^ AccessRuleFactory(System::Security::Principal::IdentityReference ^ identityReference, int accessMask, bool isInherited, System::Security::AccessControl::InheritanceFlags inheritanceFlags, System::Security::AccessControl::PropagationFlags propagationFlags, System::Security::AccessControl::AccessControlType type);
public override System.Security.AccessControl.AccessRule AccessRuleFactory(System.Security.Principal.IdentityReference identityReference, int accessMask, bool isInherited, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AccessControlType type);
override this.AccessRuleFactory : System.Security.Principal.IdentityReference * int * bool * System.Security.AccessControl.InheritanceFlags * System.Security.AccessControl.PropagationFlags * System.Security.AccessControl.AccessControlType -> System.Security.AccessControl.AccessRule
Public Overrides Function AccessRuleFactory (identityReference As IdentityReference, accessMask As Integer, isInherited As Boolean, inheritanceFlags As InheritanceFlags, propagationFlags As PropagationFlags, type As AccessControlType) As AccessRule

매개 변수

identityReference
IdentityReference

IdentityReference 규칙이 적용되는 사용자 또는 그룹을 식별하는 값입니다.

accessMask
Int32

허용하거나 거부할 액세스 권한을 지정하는 값의 EventWaitHandleRights 비트 조합으로, 정수로 캐스팅됩니다.

isInherited
Boolean

명명된 대기 핸들에는 계층 구조가 없기 때문에 의미가 없습니다.

inheritanceFlags
InheritanceFlags

명명된 대기 핸들에는 계층 구조가 없기 때문에 의미가 없습니다.

propagationFlags
PropagationFlags

명명된 대기 핸들에는 계층 구조가 없기 때문에 의미가 없습니다.

type
AccessControlType

AccessControlType 권한이 허용 또는 거부되는지 여부를 지정하는 값 중 하나입니다.

반품

EventWaitHandleAccessRule 지정된 사용자에 대한 지정된 권한을 나타내는 개체입니다.

예외

accessMask, inheritanceFlags또는 propagationFlagstype 잘못된 값을 지정합니다.

identityReferencenull입니다.

-또는-

accessMask 가 0입니다.

identityReference형식이 아니고 형식SecurityIdentifier으로 변환SecurityIdentifier할 수 있는 형식 NTAccount 도 아닙니다.

설명

액세스 제어 규칙을 만드는 권장 방법은 클래스의 생성자를 사용하는 것입니다 EventWaitHandleAccessRule .

Note

명명된 이벤트에는 상속 및 전파 플래그가 의미가 없지만 여전히 지정할 수 있습니다. 예를 들어 호환되는 규칙의 조합을 방해하여 불필요하게 규칙 유지 관리를 복잡하게 하므로 권장되지 않습니다.

적용 대상