NativeObjectSecurity.Persist 메서드

정의

NativeObjectSecurity 개체와 연결된 보안 설명자의 지정된 섹션을 영구 스토리지에 저장합니다.

오버로드

Persist(SafeHandle, AccessControlSections)

NativeObjectSecurity 개체와 연결된 보안 설명자의 지정된 섹션을 영구 스토리지에 저장합니다. 생성자와 persist 메서드에는 동일한 includeSections 매개 변수 값을 전달하는 것이 좋습니다.

Persist(String, AccessControlSections)

NativeObjectSecurity 개체와 연결된 보안 설명자의 지정된 섹션을 영구 스토리지에 저장합니다. 생성자와 persist 메서드에는 동일한 includeSections 매개 변수 값을 전달하는 것이 좋습니다.

Persist(SafeHandle, AccessControlSections, Object)

NativeObjectSecurity 개체와 연결된 보안 설명자의 지정된 섹션을 영구 스토리지에 저장합니다. 생성자와 persist 메서드에는 동일한 includeSections 매개 변수 값을 전달하는 것이 좋습니다.

Persist(String, AccessControlSections, Object)

NativeObjectSecurity 개체와 연결된 보안 설명자의 지정된 섹션을 영구 스토리지에 저장합니다. 생성자와 persist 메서드에는 동일한 includeSections 매개 변수 값을 전달하는 것이 좋습니다.

Persist(SafeHandle, AccessControlSections)

NativeObjectSecurity 개체와 연결된 보안 설명자의 지정된 섹션을 영구 스토리지에 저장합니다. 생성자와 persist 메서드에는 동일한 includeSections 매개 변수 값을 전달하는 것이 좋습니다.

protected:
 override void Persist(System::Runtime::InteropServices::SafeHandle ^ handle, System::Security::AccessControl::AccessControlSections includeSections);
protected override sealed void Persist (System.Runtime.InteropServices.SafeHandle handle, System.Security.AccessControl.AccessControlSections includeSections);
override this.Persist : System.Runtime.InteropServices.SafeHandle * System.Security.AccessControl.AccessControlSections -> unit
Protected Overrides NotOverridable Sub Persist (handle As SafeHandle, includeSections As AccessControlSections)

매개 변수

handle
SafeHandle

NativeObjectSecurity 개체가 연결된 보안 개체의 핸들입니다.

includeSections
AccessControlSections

저장할 보안 가능한 개체의 보안 설명자 섹션(액세스 규칙, 감사 규칙, 소유자 및 기본 그룹)을 지정하는 AccessControlSections 열거형 값 중 하나입니다.

예외

NativeObjectSecurity 개체가 연결된 보안 개체가 디렉터리 또는 파일이며 해당 디렉터리 또는 파일을 찾을 수 없습니다.

설명

유지 하는 경우는 NativeObjectSecurity 개체, 경우 값을 includeSections 매개 변수가 전달 되는 Persist 메서드 값과 같지 않으면를 includeSections 매개 변수를 만드는 데 생성자에 전달 NativeObjectSecurity 개체, 섹션 유지 되의 NativeObjectSecurity 개체 예측할 수 없는 값을 포함할 수 있습니다. 예를 들어, 생성자가 사용 하 여 호출 하는 경우는 includeSectionsAccess, 이상를 Persist 메서드가 사용 하 여 개체에서 호출 되는 includeSectionsAll, 결과 유지 NativeObjectSecurity 개체에 포함 됩니다 해당 감사 규칙, 그룹 및 소유자에 대 한 예측할 수 없는 값입니다.

적용 대상

Persist(String, AccessControlSections)

NativeObjectSecurity 개체와 연결된 보안 설명자의 지정된 섹션을 영구 스토리지에 저장합니다. 생성자와 persist 메서드에는 동일한 includeSections 매개 변수 값을 전달하는 것이 좋습니다.

protected:
 override void Persist(System::String ^ name, System::Security::AccessControl::AccessControlSections includeSections);
protected override sealed void Persist (string name, System.Security.AccessControl.AccessControlSections includeSections);
override this.Persist : string * System.Security.AccessControl.AccessControlSections -> unit
Protected Overrides NotOverridable Sub Persist (name As String, includeSections As AccessControlSections)

매개 변수

name
String

NativeObjectSecurity 개체가 연결된 보안 개체의 이름입니다.

includeSections
AccessControlSections

저장할 보안 가능한 개체의 보안 설명자 섹션(액세스 규칙, 감사 규칙, 소유자 및 기본 그룹)을 지정하는 AccessControlSections 열거형 값 중 하나입니다.

예외

NativeObjectSecurity 개체가 연결된 보안 개체가 디렉터리 또는 파일이며 해당 디렉터리 또는 파일을 찾을 수 없습니다.

설명

유지 하는 경우는 NativeObjectSecurity 개체, 경우 값을 includeSections 매개 변수가 전달 되는 Persist 메서드 값과 같지 않으면를 includeSections 매개 변수를 만드는 데 생성자에 전달 NativeObjectSecurity 개체, 섹션 유지 되의 NativeObjectSecurity 개체 예측할 수 없는 값을 포함할 수 있습니다. 예를 들어, 생성자가 사용 하 여 호출 하는 경우는 includeSectionsAccess, 이상를 Persist 메서드가 사용 하 여 개체에서 호출 되는 includeSectionsAll, 결과 유지 NativeObjectSecurity 개체에 포함 됩니다 해당 감사 규칙, 그룹 및 소유자에 대 한 예측할 수 없는 값입니다.

적용 대상

Persist(SafeHandle, AccessControlSections, Object)

NativeObjectSecurity 개체와 연결된 보안 설명자의 지정된 섹션을 영구 스토리지에 저장합니다. 생성자와 persist 메서드에는 동일한 includeSections 매개 변수 값을 전달하는 것이 좋습니다.

protected:
 void Persist(System::Runtime::InteropServices::SafeHandle ^ handle, System::Security::AccessControl::AccessControlSections includeSections, System::Object ^ exceptionContext);
protected void Persist (System.Runtime.InteropServices.SafeHandle handle, System.Security.AccessControl.AccessControlSections includeSections, object exceptionContext);
protected void Persist (System.Runtime.InteropServices.SafeHandle handle, System.Security.AccessControl.AccessControlSections includeSections, object? exceptionContext);
override this.Persist : System.Runtime.InteropServices.SafeHandle * System.Security.AccessControl.AccessControlSections * obj -> unit
Protected Sub Persist (handle As SafeHandle, includeSections As AccessControlSections, exceptionContext As Object)

매개 변수

handle
SafeHandle

NativeObjectSecurity 개체가 연결된 보안 개체의 핸들입니다.

includeSections
AccessControlSections

저장할 보안 가능한 개체의 보안 설명자 섹션(액세스 규칙, 감사 규칙, 소유자 및 기본 그룹)을 지정하는 AccessControlSections 열거형 값 중 하나입니다.

exceptionContext
Object

예외의 소스 또는 대상에 대한 컨텍스트 정보를 포함하는 개체입니다.

예외

NativeObjectSecurity 개체가 연결된 보안 개체가 디렉터리 또는 파일이며 해당 디렉터리 또는 파일을 찾을 수 없습니다.

설명

유지 하는 경우는 NativeObjectSecurity 개체, 경우 값을 includeSections 매개 변수가 전달 되는 Persist 메서드 값과 같지 않으면를 includeSections 매개 변수를 만드는 데 생성자에 전달 NativeObjectSecurity 개체, 섹션 유지 되의 NativeObjectSecurity 개체 예측할 수 없는 값을 포함할 수 있습니다. 예를 들어, 생성자가 사용 하 여 호출 하는 경우는 includeSectionsAccess, 이상를 Persist 메서드가 사용 하 여 개체에서 호출 되는 includeSectionsAll, 결과 유지 NativeObjectSecurity 개체에 포함 됩니다 해당 감사 규칙, 그룹 및 소유자에 대 한 예측할 수 없는 값입니다.

적용 대상

Persist(String, AccessControlSections, Object)

NativeObjectSecurity 개체와 연결된 보안 설명자의 지정된 섹션을 영구 스토리지에 저장합니다. 생성자와 persist 메서드에는 동일한 includeSections 매개 변수 값을 전달하는 것이 좋습니다.

protected:
 void Persist(System::String ^ name, System::Security::AccessControl::AccessControlSections includeSections, System::Object ^ exceptionContext);
protected void Persist (string name, System.Security.AccessControl.AccessControlSections includeSections, object exceptionContext);
protected void Persist (string name, System.Security.AccessControl.AccessControlSections includeSections, object? exceptionContext);
override this.Persist : string * System.Security.AccessControl.AccessControlSections * obj -> unit
Protected Sub Persist (name As String, includeSections As AccessControlSections, exceptionContext As Object)

매개 변수

name
String

NativeObjectSecurity 개체가 연결된 보안 개체의 이름입니다.

includeSections
AccessControlSections

저장할 보안 가능한 개체의 보안 설명자 섹션(액세스 규칙, 감사 규칙, 소유자 및 기본 그룹)을 지정하는 AccessControlSections 열거형 값 중 하나입니다.

exceptionContext
Object

예외의 소스 또는 대상에 대한 컨텍스트 정보를 포함하는 개체입니다.

예외

NativeObjectSecurity 개체가 연결된 보안 개체가 디렉터리 또는 파일이며 해당 디렉터리 또는 파일을 찾을 수 없습니다.

설명

유지 하는 경우는 NativeObjectSecurity 개체, 경우 값을 includeSections 매개 변수가 전달 되는 Persist 메서드 값과 같지 않으면를 includeSections 매개 변수를 만드는 데 생성자에 전달 NativeObjectSecurity 개체, 섹션 유지 되의 NativeObjectSecurity 개체 예측할 수 없는 값을 포함할 수 있습니다. 예를 들어, 생성자가 사용 하 여 호출 하는 경우는 includeSectionsAccess, 이상를 Persist 메서드가 사용 하 여 개체에서 호출 되는 includeSectionsAll, 결과 유지 NativeObjectSecurity 개체에 포함 됩니다 해당 감사 규칙, 그룹 및 소유자에 대 한 예측할 수 없는 값입니다.

적용 대상