ObjectSecurity<T> Konstruktorów
Definicja
Ważny
Niektóre informacje dotyczą produktów przedpremierowych, które mogą zostać znacznie zmodyfikowane przed premierą. Microsoft nie udziela żadnych gwarancji, ani wyraźnych, ani domniemanych, dotyczących informacji podanych tutaj.
Tworzy nowe wystąpienie obiektu ObjectSecurity'1 przy użyciu określonych wartości.
Przeciążenia
| Nazwa | Opis |
|---|---|
| ObjectSecurity<T>(Boolean, ResourceType) |
Inicjuje nowe wystąpienie klasy ObjectSecurity'1. |
| ObjectSecurity<T>(Boolean, ResourceType, SafeHandle, AccessControlSections) |
Inicjuje nowe wystąpienie klasy ObjectSecurity'1. |
| ObjectSecurity<T>(Boolean, ResourceType, String, AccessControlSections) |
Inicjuje nowe wystąpienie klasy ObjectSecurity'1. |
| ObjectSecurity<T>(Boolean, ResourceType, SafeHandle, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object) |
Inicjuje nowe wystąpienie klasy ObjectSecurity'1. |
| ObjectSecurity<T>(Boolean, ResourceType, String, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object) |
Inicjuje nowe wystąpienie klasy ObjectSecurity'1. |
ObjectSecurity<T>(Boolean, ResourceType)
- Źródło:
- ObjectSecurityT.cs
Inicjuje nowe wystąpienie klasy ObjectSecurity'1.
protected:
ObjectSecurity(bool isContainer, System::Security::AccessControl::ResourceType resourceType);
protected ObjectSecurity(bool isContainer, System.Security.AccessControl.ResourceType resourceType);
new System.Security.AccessControl.ObjectSecurity<'T (requires 'T : struct)> : bool * System.Security.AccessControl.ResourceType -> System.Security.AccessControl.ObjectSecurity<'T (requires 'T : struct)>
Protected Sub New (isContainer As Boolean, resourceType As ResourceType)
Parametry
- isContainer
- Boolean
true jeśli nowy ObjectSecurity<T> obiekt jest obiektem kontenera.
- resourceType
- ResourceType
Typ zasobu.
Dotyczy
ObjectSecurity<T>(Boolean, ResourceType, SafeHandle, AccessControlSections)
- Źródło:
- ObjectSecurityT.cs
Inicjuje nowe wystąpienie klasy ObjectSecurity'1.
protected:
ObjectSecurity(bool isContainer, System::Security::AccessControl::ResourceType resourceType, System::Runtime::InteropServices::SafeHandle ^ safeHandle, System::Security::AccessControl::AccessControlSections includeSections);
protected ObjectSecurity(bool isContainer, System.Security.AccessControl.ResourceType resourceType, System.Runtime.InteropServices.SafeHandle? safeHandle, System.Security.AccessControl.AccessControlSections includeSections);
protected ObjectSecurity(bool isContainer, System.Security.AccessControl.ResourceType resourceType, System.Runtime.InteropServices.SafeHandle safeHandle, System.Security.AccessControl.AccessControlSections includeSections);
new System.Security.AccessControl.ObjectSecurity<'T (requires 'T : struct)> : bool * System.Security.AccessControl.ResourceType * System.Runtime.InteropServices.SafeHandle * System.Security.AccessControl.AccessControlSections -> System.Security.AccessControl.ObjectSecurity<'T (requires 'T : struct)>
Protected Sub New (isContainer As Boolean, resourceType As ResourceType, safeHandle As SafeHandle, includeSections As AccessControlSections)
Parametry
- isContainer
- Boolean
true jeśli nowy ObjectSecurity<T> obiekt jest obiektem kontenera.
- resourceType
- ResourceType
Typ zasobu.
- safeHandle
- SafeHandle
Uchwyt.
- includeSections
- AccessControlSections
Sekcje do uwzględnienia.
Dotyczy
ObjectSecurity<T>(Boolean, ResourceType, String, AccessControlSections)
- Źródło:
- ObjectSecurityT.cs
Inicjuje nowe wystąpienie klasy ObjectSecurity'1.
protected:
ObjectSecurity(bool isContainer, System::Security::AccessControl::ResourceType resourceType, System::String ^ name, System::Security::AccessControl::AccessControlSections includeSections);
protected ObjectSecurity(bool isContainer, System.Security.AccessControl.ResourceType resourceType, string? name, System.Security.AccessControl.AccessControlSections includeSections);
protected ObjectSecurity(bool isContainer, System.Security.AccessControl.ResourceType resourceType, string name, System.Security.AccessControl.AccessControlSections includeSections);
new System.Security.AccessControl.ObjectSecurity<'T (requires 'T : struct)> : bool * System.Security.AccessControl.ResourceType * string * System.Security.AccessControl.AccessControlSections -> System.Security.AccessControl.ObjectSecurity<'T (requires 'T : struct)>
Protected Sub New (isContainer As Boolean, resourceType As ResourceType, name As String, includeSections As AccessControlSections)
Parametry
- isContainer
- Boolean
true jeśli nowy ObjectSecurity<T> obiekt jest obiektem kontenera.
- resourceType
- ResourceType
Typ zasobu.
- name
- String
Nazwa zabezpieczanego obiektu, z którym jest skojarzony nowy ObjectSecurity<T> obiekt.
- includeSections
- AccessControlSections
Sekcje do uwzględnienia.
Dotyczy
ObjectSecurity<T>(Boolean, ResourceType, SafeHandle, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)
- Źródło:
- ObjectSecurityT.cs
Inicjuje nowe wystąpienie klasy ObjectSecurity'1.
protected:
ObjectSecurity(bool isContainer, System::Security::AccessControl::ResourceType resourceType, System::Runtime::InteropServices::SafeHandle ^ safeHandle, System::Security::AccessControl::AccessControlSections includeSections, System::Security::AccessControl::NativeObjectSecurity::ExceptionFromErrorCode ^ exceptionFromErrorCode, System::Object ^ exceptionContext);
protected ObjectSecurity(bool isContainer, System.Security.AccessControl.ResourceType resourceType, System.Runtime.InteropServices.SafeHandle? safeHandle, System.Security.AccessControl.AccessControlSections includeSections, System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode? exceptionFromErrorCode, object? exceptionContext);
protected ObjectSecurity(bool isContainer, System.Security.AccessControl.ResourceType resourceType, System.Runtime.InteropServices.SafeHandle safeHandle, System.Security.AccessControl.AccessControlSections includeSections, System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode exceptionFromErrorCode, object exceptionContext);
new System.Security.AccessControl.ObjectSecurity<'T (requires 'T : struct)> : bool * System.Security.AccessControl.ResourceType * System.Runtime.InteropServices.SafeHandle * System.Security.AccessControl.AccessControlSections * System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode * obj -> System.Security.AccessControl.ObjectSecurity<'T (requires 'T : struct)>
Protected Sub New (isContainer As Boolean, resourceType As ResourceType, safeHandle As SafeHandle, includeSections As AccessControlSections, exceptionFromErrorCode As NativeObjectSecurity.ExceptionFromErrorCode, exceptionContext As Object)
Parametry
- isContainer
- Boolean
true jeśli nowy ObjectSecurity<T> obiekt jest obiektem kontenera.
- resourceType
- ResourceType
Typ zasobu.
- safeHandle
- SafeHandle
Uchwyt.
- includeSections
- AccessControlSections
Sekcje do uwzględnienia.
- 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
ObjectSecurity<T>(Boolean, ResourceType, String, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)
- Źródło:
- ObjectSecurityT.cs
Inicjuje nowe wystąpienie klasy ObjectSecurity'1.
protected:
ObjectSecurity(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 ObjectSecurity(bool isContainer, System.Security.AccessControl.ResourceType resourceType, string? name, System.Security.AccessControl.AccessControlSections includeSections, System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode? exceptionFromErrorCode, object? exceptionContext);
protected ObjectSecurity(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.ObjectSecurity<'T (requires 'T : struct)> : bool * System.Security.AccessControl.ResourceType * string * System.Security.AccessControl.AccessControlSections * System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode * obj -> System.Security.AccessControl.ObjectSecurity<'T (requires 'T : struct)>
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 ObjectSecurity<T> obiekt jest obiektem kontenera.
- resourceType
- ResourceType
Typ zasobu.
- name
- String
Nazwa zabezpieczanego obiektu, z którym jest skojarzony nowy ObjectSecurity<T> obiekt.
- includeSections
- AccessControlSections
Sekcje do uwzględnienia.
- 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.