Compartir a través de


ObjectSecurity<T> Constructores

Definición

Crea una nueva instancia del objeto ObjectSecurity`1 utilizando los valores especificados.

Sobrecargas

ObjectSecurity<T>(Boolean, ResourceType)

Inicializa una nueva instancia de la clase ObjectSecurity’ 1.

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

Inicializa una nueva instancia de la clase ObjectSecurity’ 1.

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

Inicializa una nueva instancia de la clase ObjectSecurity’ 1.

ObjectSecurity<T>(Boolean, ResourceType, SafeHandle, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)

Inicializa una nueva instancia de la clase ObjectSecurity’ 1.

ObjectSecurity<T>(Boolean, ResourceType, String, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)

Inicializa una nueva instancia de la clase ObjectSecurity’ 1.

ObjectSecurity<T>(Boolean, ResourceType)

Inicializa una nueva instancia de la clase 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)

Parámetros

isContainer
Boolean

true si el nuevo objeto ObjectSecurity<T> es un objeto de contenedor.

resourceType
ResourceType

Tipo de recurso.

Se aplica a

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

Inicializa una nueva instancia de la clase 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)

Parámetros

isContainer
Boolean

true si el nuevo objeto ObjectSecurity<T> es un objeto de contenedor.

resourceType
ResourceType

Tipo de recurso.

safeHandle
SafeHandle

Un identificador.

includeSections
AccessControlSections

Secciones que se van a incluir.

Se aplica a

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

Inicializa una nueva instancia de la clase 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)

Parámetros

isContainer
Boolean

true si el nuevo objeto ObjectSecurity<T> es un objeto de contenedor.

resourceType
ResourceType

Tipo de recurso.

name
String

Nombre del objeto protegible con el que está asociado el nuevo objeto ObjectSecurity<T>.

includeSections
AccessControlSections

Secciones que se van a incluir.

Se aplica a

ObjectSecurity<T>(Boolean, ResourceType, SafeHandle, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)

Inicializa una nueva instancia de la clase 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)

Parámetros

isContainer
Boolean

true si el nuevo objeto ObjectSecurity<T> es un objeto de contenedor.

resourceType
ResourceType

Tipo de recurso.

safeHandle
SafeHandle

Un identificador.

includeSections
AccessControlSections

Secciones que se van a incluir.

exceptionFromErrorCode
NativeObjectSecurity.ExceptionFromErrorCode

Delegado implementado por integradores que ofrece excepciones personalizadas.

exceptionContext
Object

Objeto que contiene información contextual sobre el origen o el destino de la excepción.

Se aplica a

ObjectSecurity<T>(Boolean, ResourceType, String, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)

Inicializa una nueva instancia de la clase 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)

Parámetros

isContainer
Boolean

true si el nuevo objeto ObjectSecurity<T> es un objeto de contenedor.

resourceType
ResourceType

Tipo de recurso.

name
String

Nombre del objeto protegible con el que está asociado el nuevo objeto ObjectSecurity<T>.

includeSections
AccessControlSections

Secciones que se van a incluir.

exceptionFromErrorCode
NativeObjectSecurity.ExceptionFromErrorCode

Delegado implementado por integradores que ofrece excepciones personalizadas.

exceptionContext
Object

Objeto que contiene información contextual sobre el origen o el destino de la excepción.

Se aplica a