NativeObjectSecurity Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy NativeObjectSecurity.

Przeciążenia

NativeObjectSecurity(Boolean, ResourceType)

Inicjuje NativeObjectSecurity nowe wystąpienie klasy z określonymi wartościami.

NativeObjectSecurity(Boolean, ResourceType, SafeHandle, AccessControlSections)

Inicjuje NativeObjectSecurity nowe wystąpienie klasy z określonymi wartościami. Zalecamy, aby wartości parametrów przekazanych includeSections do konstruktora i metody utrwalania są identyczne.

NativeObjectSecurity(Boolean, ResourceType, NativeObjectSecurity+ExceptionFromErrorCode, Object)

Inicjuje NativeObjectSecurity nowe wystąpienie klasy przy użyciu określonych wartości.

NativeObjectSecurity(Boolean, ResourceType, String, AccessControlSections)

Inicjuje NativeObjectSecurity nowe wystąpienie klasy z określonymi wartościami. Zalecamy, aby wartości parametrów przekazanych includeSections do konstruktora i metody utrwalania są identyczne.

NativeObjectSecurity(Boolean, ResourceType, SafeHandle, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)

Inicjuje NativeObjectSecurity nowe wystąpienie klasy z określonymi wartościami. Zalecamy, aby wartości parametrów przekazanych includeSections do konstruktora i metody utrwalania są identyczne.

NativeObjectSecurity(Boolean, ResourceType, String, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)

Inicjuje NativeObjectSecurity nowe wystąpienie klasy z określonymi wartościami. Zalecamy, aby wartości parametrów przekazanych includeSections do konstruktora i metody utrwalania są identyczne.

NativeObjectSecurity(Boolean, ResourceType)

Inicjuje NativeObjectSecurity nowe wystąpienie klasy z określonymi wartościami.

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)

Parametry

isContainer
Boolean

true jeśli nowy NativeObjectSecurity obiekt jest obiektem kontenera.

resourceType
ResourceType

Typ zabezpieczanego obiektu, z którym jest skojarzony nowy NativeObjectSecurity obiekt.

Dotyczy

NativeObjectSecurity(Boolean, ResourceType, SafeHandle, AccessControlSections)

Inicjuje NativeObjectSecurity nowe wystąpienie klasy z określonymi wartościami. Zalecamy, aby wartości parametrów przekazanych includeSections do konstruktora i metody utrwalania są identyczne.

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)

Parametry

isContainer
Boolean

true jeśli nowy NativeObjectSecurity obiekt jest obiektem kontenera.

resourceType
ResourceType

Typ zabezpieczanego obiektu, z którym jest skojarzony nowy NativeObjectSecurity obiekt.

handle
SafeHandle

Uchwyt zabezpieczanego obiektu, z którym jest skojarzony nowy NativeObjectSecurity obiekt.

includeSections
AccessControlSections

AccessControlSections Jedna z wartości wyliczenia, która określa sekcje deskryptora zabezpieczeń (reguły dostępu, reguły inspekcji, właściciel, grupa podstawowa) zabezpieczanego obiektu do uwzględnienia w tym NativeObjectSecurity obiekcie.

Uwagi

W przypadku utrwalania NativeObjectSecurity obiektu, jeśli wartość includeSections parametru przekazanego do Persist metody nie jest identyczna z wartością includeSections parametru przekazanego do konstruktora użytego do utworzenia tego NativeObjectSecurity obiektu, sekcje utrwalonego NativeObjectSecurity obiektu mogą zawierać nieprzewidywalne wartości. Jeśli na przykład konstruktor jest wywoływany z wartością includeSectionsAccess, a później Persist metoda jest wywoływana na tym obiekcie o includeSections wartości All, wynikowy utrwalonego NativeObjectSecurity obiektu będzie zawierać nieprzewidywalne wartości dla reguł inspekcji, grupy i właściciela.

Dotyczy

NativeObjectSecurity(Boolean, ResourceType, NativeObjectSecurity+ExceptionFromErrorCode, Object)

Inicjuje NativeObjectSecurity nowe wystąpienie klasy przy użyciu określonych wartości.

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)

Parametry

isContainer
Boolean

true jeśli nowy NativeObjectSecurity obiekt jest obiektem kontenera.

resourceType
ResourceType

Typ zabezpieczanego obiektu, z którym jest skojarzony nowy NativeObjectSecurity obiekt.

exceptionFromErrorCode
NativeObjectSecurity.ExceptionFromErrorCode

Delegat zaimplementowany przez integratorów, który zapewnia wyjątki niestandardowe.

exceptionContext
Object

Obiekt zawierający kontekstowe informacje o źródle lub miejscu docelowym wyjątku.

Dotyczy

NativeObjectSecurity(Boolean, ResourceType, String, AccessControlSections)

Inicjuje NativeObjectSecurity nowe wystąpienie klasy z określonymi wartościami. Zalecamy, aby wartości parametrów przekazanych includeSections do konstruktora i metody utrwalania są identyczne.

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)

Parametry

isContainer
Boolean

true jeśli nowy NativeObjectSecurity obiekt jest obiektem kontenera.

resourceType
ResourceType

Typ zabezpieczanego obiektu, z którym jest skojarzony nowy NativeObjectSecurity obiekt.

name
String

Nazwa zabezpieczanego obiektu, z którym jest skojarzony nowy NativeObjectSecurity obiekt.

includeSections
AccessControlSections

AccessControlSections Jedna z wartości wyliczenia, która określa sekcje deskryptora zabezpieczeń (reguły dostępu, reguły inspekcji, właściciel, grupa podstawowa) zabezpieczanego obiektu do uwzględnienia w tym NativeObjectSecurity obiekcie.

Uwagi

W przypadku utrwalania NativeObjectSecurity obiektu, jeśli wartość includeSections parametru przekazanego do Persist metody nie jest identyczna z wartością includeSections parametru przekazanego do konstruktora użytego do utworzenia tego NativeObjectSecurity obiektu, sekcje utrwalonego NativeObjectSecurity obiektu mogą zawierać nieprzewidywalne wartości. Jeśli na przykład konstruktor jest wywoływany z wartością includeSectionsAccess, a później Persist metoda jest wywoływana na tym obiekcie o includeSections wartości All, wynikowy utrwalonego NativeObjectSecurity obiektu będzie zawierać nieprzewidywalne wartości dla reguł inspekcji, grupy i właściciela.

Dotyczy

NativeObjectSecurity(Boolean, ResourceType, SafeHandle, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)

Inicjuje NativeObjectSecurity nowe wystąpienie klasy z określonymi wartościami. Zalecamy, aby wartości parametrów przekazanych includeSections do konstruktora i metody utrwalania są identyczne.

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)

Parametry

isContainer
Boolean

true jeśli nowy NativeObjectSecurity obiekt jest obiektem kontenera.

resourceType
ResourceType

Typ zabezpieczanego obiektu, z którym jest skojarzony nowy NativeObjectSecurity obiekt.

handle
SafeHandle

Uchwyt zabezpieczanego obiektu, z którym jest skojarzony nowy NativeObjectSecurity obiekt.

includeSections
AccessControlSections

AccessControlSections Jedna z wartości wyliczenia, która określa sekcje deskryptora zabezpieczeń (reguły dostępu, reguły inspekcji, właściciel, grupa podstawowa) zabezpieczanego obiektu do uwzględnienia w tym NativeObjectSecurity obiekcie.

exceptionFromErrorCode
NativeObjectSecurity.ExceptionFromErrorCode

Delegat zaimplementowany przez integratorów, który zapewnia wyjątki niestandardowe.

exceptionContext
Object

Obiekt zawierający kontekstowe informacje o źródle lub miejscu docelowym wyjątku.

Uwagi

W przypadku utrwalania NativeObjectSecurity obiektu, jeśli wartość includeSections parametru przekazanego do Persist metody nie jest identyczna z wartością includeSections parametru przekazanego do konstruktora użytego do utworzenia tego NativeObjectSecurity obiektu, sekcje utrwalonego NativeObjectSecurity obiektu mogą zawierać nieprzewidywalne wartości. Jeśli na przykład konstruktor jest wywoływany z wartością includeSectionsAccess, a później Persist metoda jest wywoływana na tym obiekcie o includeSections wartości All, wynikowy utrwalonego NativeObjectSecurity obiektu będzie zawierać nieprzewidywalne wartości dla reguł inspekcji, grupy i właściciela.

Dotyczy

NativeObjectSecurity(Boolean, ResourceType, String, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)

Inicjuje NativeObjectSecurity nowe wystąpienie klasy z określonymi wartościami. Zalecamy, aby wartości parametrów przekazanych includeSections do konstruktora i metody utrwalania są identyczne.

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)

Parametry

isContainer
Boolean

true jeśli nowy NativeObjectSecurity obiekt jest obiektem kontenera.

resourceType
ResourceType

Typ zabezpieczanego obiektu, z którym jest skojarzony nowy NativeObjectSecurity obiekt.

name
String

Nazwa zabezpieczanego obiektu, z którym jest skojarzony nowy NativeObjectSecurity obiekt.

includeSections
AccessControlSections

AccessControlSections Jedna z wartości wyliczenia, która określa sekcje deskryptora zabezpieczeń (reguły dostępu, reguły inspekcji, właściciel, grupa podstawowa) zabezpieczanego obiektu do uwzględnienia w tym NativeObjectSecurity obiekcie.

exceptionFromErrorCode
NativeObjectSecurity.ExceptionFromErrorCode

Delegat zaimplementowany przez integratorów, który zapewnia wyjątki niestandardowe.

exceptionContext
Object

Obiekt zawierający kontekstowe informacje o źródle lub miejscu docelowym wyjątku.

Uwagi

W przypadku utrwalania NativeObjectSecurity obiektu, jeśli wartość includeSections parametru przekazanego do Persist metody nie jest identyczna z wartością includeSections parametru przekazanego do konstruktora użytego do utworzenia tego NativeObjectSecurity obiektu, sekcje utrwalonego NativeObjectSecurity obiektu mogą zawierać nieprzewidywalne wartości. Jeśli na przykład konstruktor jest wywoływany z wartością includeSectionsAccess, a później Persist metoda jest wywoływana na tym obiekcie o includeSections wartości All, wynikowy utrwalonego NativeObjectSecurity obiektu będzie zawierać nieprzewidywalne wartości dla reguł inspekcji, grupy i właściciela.

Dotyczy