NativeObjectSecurity 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
NativeObjectSecurity 클래스의 새 인스턴스를 초기화합니다.
오버로드
NativeObjectSecurity(Boolean, ResourceType)
- Source:
- NativeObjectSecurity.cs
지정된 값을 사용하여 클래스의 NativeObjectSecurity 새 인스턴스를 초기화합니다.
protected:
NativeObjectSecurity(bool isContainer, System::Security::AccessControl::ResourceType resourceType);
protected NativeObjectSecurity(bool isContainer, System.Security.AccessControl.ResourceType resourceType);
new System.Security.AccessControl.NativeObjectSecurity : bool * System.Security.AccessControl.ResourceType -> System.Security.AccessControl.NativeObjectSecurity
Protected Sub New (isContainer As Boolean, resourceType As ResourceType)
매개 변수
- isContainer
- Boolean
true 새 NativeObjectSecurity 개체가 컨테이너 개체이면 입니다.
- resourceType
- ResourceType
새 NativeObjectSecurity 개체가 연결된 보안 개체의 형식입니다.
적용 대상
NativeObjectSecurity(Boolean, ResourceType, SafeHandle, AccessControlSections)
- Source:
- NativeObjectSecurity.cs
지정된 값을 사용하여 클래스의 NativeObjectSecurity 새 인스턴스를 초기화합니다. 생성자 및 지속 메서드에 전달된 매개 변수의 includeSections 값이 동일하도록 하는 것이 좋습니다.
protected:
NativeObjectSecurity(bool isContainer, System::Security::AccessControl::ResourceType resourceType, System::Runtime::InteropServices::SafeHandle ^ handle, System::Security::AccessControl::AccessControlSections includeSections);
protected NativeObjectSecurity(bool isContainer, System.Security.AccessControl.ResourceType resourceType, System.Runtime.InteropServices.SafeHandle? handle, System.Security.AccessControl.AccessControlSections includeSections);
protected NativeObjectSecurity(bool isContainer, System.Security.AccessControl.ResourceType resourceType, System.Runtime.InteropServices.SafeHandle handle, System.Security.AccessControl.AccessControlSections includeSections);
new System.Security.AccessControl.NativeObjectSecurity : bool * System.Security.AccessControl.ResourceType * System.Runtime.InteropServices.SafeHandle * System.Security.AccessControl.AccessControlSections -> System.Security.AccessControl.NativeObjectSecurity
Protected Sub New (isContainer As Boolean, resourceType As ResourceType, handle As SafeHandle, includeSections As AccessControlSections)
매개 변수
- isContainer
- Boolean
true 새 NativeObjectSecurity 개체가 컨테이너 개체이면 입니다.
- resourceType
- ResourceType
새 NativeObjectSecurity 개체가 연결된 보안 개체의 형식입니다.
- handle
- SafeHandle
새 NativeObjectSecurity 개체가 연결된 보안 개체의 핸들입니다.
- includeSections
- AccessControlSections
이 AccessControlSections 개체에 NativeObjectSecurity 포함할 보안 개체의 보안 설명자(액세스 규칙, 감사 규칙, 소유자, 기본 그룹)의 섹션을 지정하는 열거형 값 중 하나입니다.
설명
개체를 NativeObjectSecurity 유지할 때 메서드에 includeSections 전달된 매개 변수의 Persist 값이 해당 개체를 만드는 데 사용되는 생성자에 전달된 매개 변수 값 includeSections 과 동일하지 않으면 지속형 NativeObjectSecurity 개체의 섹션에 예측할 수 없는 값이 NativeObjectSecurity 포함될 수 있습니다. 예를 들어 생성자가 값으로 includeSections 호출되고 나중에 Access 값이 있는 해당 개체 PersistincludeSections에서 메서드를 호출하는 경우 결과 지속형 All 개체에는 감사 규칙, 그룹 및 소유자에 대한 예측할 수 없는 값이 포함NativeObjectSecurity됩니다.
적용 대상
NativeObjectSecurity(Boolean, ResourceType, NativeObjectSecurity+ExceptionFromErrorCode, Object)
- Source:
- NativeObjectSecurity.cs
지정된 값을 사용하여 클래스의 NativeObjectSecurity 새 인스턴스를 초기화합니다.
protected:
NativeObjectSecurity(bool isContainer, System::Security::AccessControl::ResourceType resourceType, System::Security::AccessControl::NativeObjectSecurity::ExceptionFromErrorCode ^ exceptionFromErrorCode, System::Object ^ exceptionContext);
protected NativeObjectSecurity(bool isContainer, System.Security.AccessControl.ResourceType resourceType, System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode? exceptionFromErrorCode, object? exceptionContext);
protected NativeObjectSecurity(bool isContainer, System.Security.AccessControl.ResourceType resourceType, System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode exceptionFromErrorCode, object exceptionContext);
new System.Security.AccessControl.NativeObjectSecurity : bool * System.Security.AccessControl.ResourceType * System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode * obj -> System.Security.AccessControl.NativeObjectSecurity
Protected Sub New (isContainer As Boolean, resourceType As ResourceType, exceptionFromErrorCode As NativeObjectSecurity.ExceptionFromErrorCode, exceptionContext As Object)
매개 변수
- isContainer
- Boolean
true 새 NativeObjectSecurity 개체가 컨테이너 개체이면 입니다.
- resourceType
- ResourceType
새 NativeObjectSecurity 개체가 연결된 보안 개체의 형식입니다.
- exceptionFromErrorCode
- NativeObjectSecurity.ExceptionFromErrorCode
사용자 지정 예외를 제공하는 통합자가 구현한 대리자입니다.
- exceptionContext
- Object
예외의 원본 또는 대상에 대한 컨텍스트 정보를 포함하는 개체입니다.
적용 대상
NativeObjectSecurity(Boolean, ResourceType, String, AccessControlSections)
- Source:
- NativeObjectSecurity.cs
지정된 값을 사용하여 클래스의 NativeObjectSecurity 새 인스턴스를 초기화합니다. 생성자 및 지속 메서드에 전달된 매개 변수의 includeSections 값이 동일하도록 하는 것이 좋습니다.
protected:
NativeObjectSecurity(bool isContainer, System::Security::AccessControl::ResourceType resourceType, System::String ^ name, System::Security::AccessControl::AccessControlSections includeSections);
protected NativeObjectSecurity(bool isContainer, System.Security.AccessControl.ResourceType resourceType, string? name, System.Security.AccessControl.AccessControlSections includeSections);
protected NativeObjectSecurity(bool isContainer, System.Security.AccessControl.ResourceType resourceType, string name, System.Security.AccessControl.AccessControlSections includeSections);
new System.Security.AccessControl.NativeObjectSecurity : bool * System.Security.AccessControl.ResourceType * string * System.Security.AccessControl.AccessControlSections -> System.Security.AccessControl.NativeObjectSecurity
Protected Sub New (isContainer As Boolean, resourceType As ResourceType, name As String, includeSections As AccessControlSections)
매개 변수
- isContainer
- Boolean
true 새 NativeObjectSecurity 개체가 컨테이너 개체이면 입니다.
- resourceType
- ResourceType
새 NativeObjectSecurity 개체가 연결된 보안 개체의 형식입니다.
- name
- String
새 NativeObjectSecurity 개체가 연결된 보안 개체의 이름입니다.
- includeSections
- AccessControlSections
이 AccessControlSections 개체에 NativeObjectSecurity 포함할 보안 개체의 보안 설명자(액세스 규칙, 감사 규칙, 소유자, 기본 그룹)의 섹션을 지정하는 열거형 값 중 하나입니다.
설명
개체를 NativeObjectSecurity 유지할 때 메서드에 includeSections 전달된 매개 변수의 Persist 값이 해당 개체를 만드는 데 사용되는 생성자에 전달된 매개 변수 값 includeSections 과 동일하지 않으면 지속형 NativeObjectSecurity 개체의 섹션에 예측할 수 없는 값이 NativeObjectSecurity 포함될 수 있습니다. 예를 들어 생성자가 값으로 includeSections 호출되고 나중에 Access 값이 있는 해당 개체 PersistincludeSections에서 메서드를 호출하는 경우 결과 지속형 All 개체에는 감사 규칙, 그룹 및 소유자에 대한 예측할 수 없는 값이 포함NativeObjectSecurity됩니다.
적용 대상
NativeObjectSecurity(Boolean, ResourceType, SafeHandle, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)
- Source:
- NativeObjectSecurity.cs
지정된 값을 사용하여 클래스의 NativeObjectSecurity 새 인스턴스를 초기화합니다. 생성자 및 지속 메서드에 전달된 매개 변수의 includeSections 값이 동일하도록 하는 것이 좋습니다.
protected:
NativeObjectSecurity(bool isContainer, System::Security::AccessControl::ResourceType resourceType, System::Runtime::InteropServices::SafeHandle ^ handle, System::Security::AccessControl::AccessControlSections includeSections, System::Security::AccessControl::NativeObjectSecurity::ExceptionFromErrorCode ^ exceptionFromErrorCode, System::Object ^ exceptionContext);
protected NativeObjectSecurity(bool isContainer, System.Security.AccessControl.ResourceType resourceType, System.Runtime.InteropServices.SafeHandle? handle, System.Security.AccessControl.AccessControlSections includeSections, System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode? exceptionFromErrorCode, object? exceptionContext);
protected NativeObjectSecurity(bool isContainer, System.Security.AccessControl.ResourceType resourceType, System.Runtime.InteropServices.SafeHandle handle, System.Security.AccessControl.AccessControlSections includeSections, System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode exceptionFromErrorCode, object exceptionContext);
new System.Security.AccessControl.NativeObjectSecurity : bool * System.Security.AccessControl.ResourceType * System.Runtime.InteropServices.SafeHandle * System.Security.AccessControl.AccessControlSections * System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode * obj -> System.Security.AccessControl.NativeObjectSecurity
Protected Sub New (isContainer As Boolean, resourceType As ResourceType, handle As SafeHandle, includeSections As AccessControlSections, exceptionFromErrorCode As NativeObjectSecurity.ExceptionFromErrorCode, exceptionContext As Object)
매개 변수
- isContainer
- Boolean
true 새 NativeObjectSecurity 개체가 컨테이너 개체이면 입니다.
- resourceType
- ResourceType
새 NativeObjectSecurity 개체가 연결된 보안 개체의 형식입니다.
- handle
- SafeHandle
새 NativeObjectSecurity 개체가 연결된 보안 개체의 핸들입니다.
- includeSections
- AccessControlSections
이 AccessControlSections 개체에 NativeObjectSecurity 포함할 보안 개체의 보안 설명자(액세스 규칙, 감사 규칙, 소유자, 기본 그룹)의 섹션을 지정하는 열거형 값 중 하나입니다.
- exceptionFromErrorCode
- NativeObjectSecurity.ExceptionFromErrorCode
사용자 지정 예외를 제공하는 통합자가 구현한 대리자입니다.
- exceptionContext
- Object
예외의 원본 또는 대상에 대한 컨텍스트 정보를 포함하는 개체입니다.
설명
개체를 NativeObjectSecurity 유지할 때 메서드에 includeSections 전달된 매개 변수의 Persist 값이 해당 개체를 만드는 데 사용되는 생성자에 전달된 매개 변수 값 includeSections 과 동일하지 않으면 지속형 NativeObjectSecurity 개체의 섹션에 예측할 수 없는 값이 NativeObjectSecurity 포함될 수 있습니다. 예를 들어 생성자가 값으로 includeSections 호출되고 나중에 Access 값이 있는 해당 개체 PersistincludeSections에서 메서드를 호출하는 경우 결과 지속형 All 개체에는 감사 규칙, 그룹 및 소유자에 대한 예측할 수 없는 값이 포함NativeObjectSecurity됩니다.
적용 대상
NativeObjectSecurity(Boolean, ResourceType, String, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)
- Source:
- NativeObjectSecurity.cs
지정된 값을 사용하여 클래스의 NativeObjectSecurity 새 인스턴스를 초기화합니다. 생성자 및 지속 메서드에 전달된 매개 변수의 includeSections 값이 동일하도록 하는 것이 좋습니다.
protected:
NativeObjectSecurity(bool isContainer, System::Security::AccessControl::ResourceType resourceType, System::String ^ name, System::Security::AccessControl::AccessControlSections includeSections, System::Security::AccessControl::NativeObjectSecurity::ExceptionFromErrorCode ^ exceptionFromErrorCode, System::Object ^ exceptionContext);
protected NativeObjectSecurity(bool isContainer, System.Security.AccessControl.ResourceType resourceType, string? name, System.Security.AccessControl.AccessControlSections includeSections, System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode? exceptionFromErrorCode, object? exceptionContext);
protected NativeObjectSecurity(bool isContainer, System.Security.AccessControl.ResourceType resourceType, string name, System.Security.AccessControl.AccessControlSections includeSections, System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode exceptionFromErrorCode, object exceptionContext);
new System.Security.AccessControl.NativeObjectSecurity : bool * System.Security.AccessControl.ResourceType * string * System.Security.AccessControl.AccessControlSections * System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode * obj -> System.Security.AccessControl.NativeObjectSecurity
Protected Sub New (isContainer As Boolean, resourceType As ResourceType, name As String, includeSections As AccessControlSections, exceptionFromErrorCode As NativeObjectSecurity.ExceptionFromErrorCode, exceptionContext As Object)
매개 변수
- isContainer
- Boolean
true 새 NativeObjectSecurity 개체가 컨테이너 개체이면 입니다.
- resourceType
- ResourceType
새 NativeObjectSecurity 개체가 연결된 보안 개체의 형식입니다.
- name
- String
새 NativeObjectSecurity 개체가 연결된 보안 개체의 이름입니다.
- includeSections
- AccessControlSections
이 AccessControlSections 개체에 NativeObjectSecurity 포함할 보안 개체의 보안 설명자(액세스 규칙, 감사 규칙, 소유자, 기본 그룹)의 섹션을 지정하는 열거형 값 중 하나입니다.
- exceptionFromErrorCode
- NativeObjectSecurity.ExceptionFromErrorCode
사용자 지정 예외를 제공하는 통합자가 구현한 대리자입니다.
- exceptionContext
- Object
예외의 원본 또는 대상에 대한 컨텍스트 정보를 포함하는 개체입니다.
설명
개체를 NativeObjectSecurity 유지할 때 메서드에 includeSections 전달된 매개 변수의 Persist 값이 해당 개체를 만드는 데 사용되는 생성자에 전달된 매개 변수 값 includeSections 과 동일하지 않으면 지속형 NativeObjectSecurity 개체의 섹션에 예측할 수 없는 값이 NativeObjectSecurity 포함될 수 있습니다. 예를 들어 생성자가 값으로 includeSections 호출되고 나중에 Access 값이 있는 해당 개체 PersistincludeSections에서 메서드를 호출하는 경우 결과 지속형 All 개체에는 감사 규칙, 그룹 및 소유자에 대한 예측할 수 없는 값이 포함NativeObjectSecurity됩니다.