Sdílet prostřednictvím


ObjectSecurity<T> Konstruktory

Definice

Vytvoří novou instanci ObjectSecurity'1 objektu pomocí zadaných hodnot.

Přetížení

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)

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 objektem kontejneru.

resourceType
ResourceType

Typ prostředku.

Platí pro

ObjectSecurity<T>(Boolean, ResourceType, SafeHandle, AccessControlSections)

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 objektem kontejneru.

resourceType
ResourceType

Typ prostředku.

safeHandle
SafeHandle

Popisovač.

includeSections
AccessControlSections

Oddíly, které se mají zahrnout.

Platí pro

ObjectSecurity<T>(Boolean, ResourceType, String, AccessControlSections)

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 objektem kontejneru.

resourceType
ResourceType

Typ prostředku.

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)

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 objektem kontejneru.

resourceType
ResourceType

Typ prostředku.

safeHandle
SafeHandle

Popisovač.

includeSections
AccessControlSections

Oddíly, které se mají zahrnout.

exceptionFromErrorCode
NativeObjectSecurity.ExceptionFromErrorCode

Delegát implementovaný integrátory, který poskytuje 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)

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 objektem kontejneru.

resourceType
ResourceType

Typ prostředku.

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, který poskytuje vlastní výjimky.

exceptionContext
Object

Objekt, který obsahuje kontextové informace o zdroji nebo cíli výjimky.

Platí pro