ObjectSecurity<T> Konstruktory
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Vytvoří novou instanci objektu ObjectSecurity'1 pomocí zadaných hodnot.
Přetížení
| Name | Description |
|---|---|
| ObjectSecurity<T>(Boolean, ResourceType) |
Inicializuje novou instanci ObjectSecurity'1 třídy. |
| ObjectSecurity<T>(Boolean, ResourceType, SafeHandle, AccessControlSections) |
Inicializuje novou instanci ObjectSecurity'1 třídy. |
| ObjectSecurity<T>(Boolean, ResourceType, String, AccessControlSections) |
Inicializuje novou instanci ObjectSecurity'1 třídy. |
| ObjectSecurity<T>(Boolean, ResourceType, SafeHandle, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object) |
Inicializuje novou instanci ObjectSecurity'1 třídy. |
| ObjectSecurity<T>(Boolean, ResourceType, String, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object) |
Inicializuje novou instanci ObjectSecurity'1 třídy. |
ObjectSecurity<T>(Boolean, ResourceType)
- Zdroj:
- ObjectSecurityT.cs
Inicializuje novou instanci ObjectSecurity'1 třídy.
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 pokud je nový ObjectSecurity<T> objekt objekt kontejneru.
- resourceType
- ResourceType
Typ prostředků.
Platí pro
ObjectSecurity<T>(Boolean, ResourceType, SafeHandle, AccessControlSections)
- Zdroj:
- ObjectSecurityT.cs
Inicializuje novou instanci ObjectSecurity'1 třídy.
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 pokud je nový ObjectSecurity<T> objekt objekt kontejneru.
- resourceType
- ResourceType
Typ prostředků.
- safeHandle
- SafeHandle
Úchyt.
- includeSections
- AccessControlSections
Oddíly, které se mají zahrnout.
Platí pro
ObjectSecurity<T>(Boolean, ResourceType, String, AccessControlSections)
- Zdroj:
- ObjectSecurityT.cs
Inicializuje novou instanci ObjectSecurity'1 třídy.
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 pokud je nový ObjectSecurity<T> objekt objekt kontejneru.
- resourceType
- ResourceType
Typ prostředků.
- name
- String
Název zabezpečitelného objektu, ke kterému je nový ObjectSecurity<T> objekt přidružen.
- includeSections
- AccessControlSections
Oddíly, které se mají zahrnout.
Platí pro
ObjectSecurity<T>(Boolean, ResourceType, SafeHandle, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)
- Zdroj:
- ObjectSecurityT.cs
Inicializuje novou instanci ObjectSecurity'1 třídy.
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 pokud je nový ObjectSecurity<T> objekt objekt kontejneru.
- resourceType
- ResourceType
Typ prostředků.
- safeHandle
- SafeHandle
Úchyt.
- includeSections
- AccessControlSections
Oddíly, které se mají zahrnout.
- exceptionFromErrorCode
- NativeObjectSecurity.ExceptionFromErrorCode
Delegát implementovaný integrátory, kteří poskytují vlastní výjimky.
- exceptionContext
- Object
Objekt, který obsahuje kontextové informace o zdroji nebo cíli výjimky.
Platí pro
ObjectSecurity<T>(Boolean, ResourceType, String, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)
- Zdroj:
- ObjectSecurityT.cs
Inicializuje novou instanci ObjectSecurity'1 třídy.
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 pokud je nový ObjectSecurity<T> objekt objekt kontejneru.
- resourceType
- ResourceType
Typ prostředků.
- name
- String
Název zabezpečitelného objektu, ke kterému je nový ObjectSecurity<T> objekt přidružen.
- includeSections
- AccessControlSections
Oddíly, které se mají zahrnout.
- exceptionFromErrorCode
- NativeObjectSecurity.ExceptionFromErrorCode
Delegát implementovaný integrátory, kteří poskytují vlastní výjimky.
- exceptionContext
- Object
Objekt, který obsahuje kontextové informace o zdroji nebo cíli výjimky.