Share via


MutexSecurity 생성자

정의

MutexSecurity 클래스의 새 인스턴스를 초기화합니다.

오버로드

MutexSecurity()

기본값을 사용하여 MutexSecurity 클래스의 새 인스턴스를 초기화합니다.

MutexSecurity(String, AccessControlSections)

지정한 이름의 시스템 뮤텍스에서 지정한 액세스 제어 보안 규칙 섹션으로 MutexSecurity 클래스의 새 인스턴스를 초기화합니다.

MutexSecurity()

Source:
MutexSecurity.cs
Source:
MutexSecurity.cs
Source:
MutexSecurity.cs
Source:
MutexSecurity.cs

기본값을 사용하여 MutexSecurity 클래스의 새 인스턴스를 초기화합니다.

public:
 MutexSecurity();
public MutexSecurity ();
Public Sub New ()

설명

MutexSecurity 개체는 항상 모든 사용자에 대한 모든 액세스를 거부하는 빈 DACL(임의 액세스 목록)으로 시작합니다.

적용 대상

MutexSecurity(String, AccessControlSections)

Source:
MutexSecurity.cs
Source:
MutexSecurity.cs
Source:
MutexSecurity.cs
Source:
MutexSecurity.cs

지정한 이름의 시스템 뮤텍스에서 지정한 액세스 제어 보안 규칙 섹션으로 MutexSecurity 클래스의 새 인스턴스를 초기화합니다.

public:
 MutexSecurity(System::String ^ name, System::Security::AccessControl::AccessControlSections includeSections);
public MutexSecurity (string name, System.Security.AccessControl.AccessControlSections includeSections);
new System.Security.AccessControl.MutexSecurity : string * System.Security.AccessControl.AccessControlSections -> System.Security.AccessControl.MutexSecurity
Public Sub New (name As String, includeSections As AccessControlSections)

매개 변수

name
String

액세스 제어 보안 규칙을 검색할 시스템 뮤텍스의 이름입니다.

includeSections
AccessControlSections

검색할 섹션을 지정하는 AccessControlSections 플래그의 조합입니다.

예외

지정된 이름의 시스템 개체가 없는 경우

설명

이 생성자를 사용하면 먼저 개체를 만들지 Mutex 않고 명명된 시스템 뮤텍스에 대한 액세스 제어 보안을 얻을 수 있습니다.

명명된 시스템 개체를 사용할 때는 주의해야 합니다. 뮤텍스가 아닌 라는 name 시스템 개체가 있는 경우 제어 액세스 보안이 검색될 수 있습니다.

적용 대상