ObjectSecurity<T> Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Cria uma nova instância do objeto ObjectSecurity'1, usando os valores especificados.
Sobrecargas
ObjectSecurity<T>(Boolean, ResourceType) |
Inicializa uma nova instância da classe ObjectSecurity'1. |
ObjectSecurity<T>(Boolean, ResourceType, SafeHandle, AccessControlSections) |
Inicializa uma nova instância da classe ObjectSecurity'1. |
ObjectSecurity<T>(Boolean, ResourceType, String, AccessControlSections) |
Inicializa uma nova instância da classe ObjectSecurity'1. |
ObjectSecurity<T>(Boolean, ResourceType, SafeHandle, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object) |
Inicializa uma nova instância da classe ObjectSecurity'1. |
ObjectSecurity<T>(Boolean, ResourceType, String, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object) |
Inicializa uma nova instância da classe ObjectSecurity'1. |
ObjectSecurity<T>(Boolean, ResourceType)
Inicializa uma nova instância da classe 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
se o novo objeto ObjectSecurity<T> for um objeto contêiner.
- resourceType
- ResourceType
O tipo de recurso.
Aplica-se a
ObjectSecurity<T>(Boolean, ResourceType, SafeHandle, AccessControlSections)
Inicializa uma nova instância da classe 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
se o novo objeto ObjectSecurity<T> for um objeto contêiner.
- resourceType
- ResourceType
O tipo de recurso.
- safeHandle
- SafeHandle
Um identificador.
- includeSections
- AccessControlSections
As seções a serem incluídas.
Aplica-se a
ObjectSecurity<T>(Boolean, ResourceType, String, AccessControlSections)
Inicializa uma nova instância da classe 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
se o novo objeto ObjectSecurity<T> for um objeto contêiner.
- resourceType
- ResourceType
O tipo de recurso.
- name
- String
O nome do objeto protegível ao qual o novo objeto ObjectSecurity<T> está associado.
- includeSections
- AccessControlSections
As seções a serem incluídas.
Aplica-se a
ObjectSecurity<T>(Boolean, ResourceType, SafeHandle, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)
Inicializa uma nova instância da classe 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
se o novo objeto ObjectSecurity<T> for um objeto contêiner.
- resourceType
- ResourceType
O tipo de recurso.
- safeHandle
- SafeHandle
Um identificador.
- includeSections
- AccessControlSections
As seções a serem incluídas.
- exceptionFromErrorCode
- NativeObjectSecurity.ExceptionFromErrorCode
Um delegado implementado por integradores que fornece exceções personalizadas.
- exceptionContext
- Object
Um objeto que contém informações contextuais sobre a origem ou o destino da exceção.
Aplica-se a
ObjectSecurity<T>(Boolean, ResourceType, String, AccessControlSections, NativeObjectSecurity+ExceptionFromErrorCode, Object)
Inicializa uma nova instância da classe 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
se o novo objeto ObjectSecurity<T> for um objeto contêiner.
- resourceType
- ResourceType
O tipo de recurso.
- name
- String
O nome do objeto protegível ao qual o novo objeto ObjectSecurity<T> está associado.
- includeSections
- AccessControlSections
As seções a serem incluídas.
- exceptionFromErrorCode
- NativeObjectSecurity.ExceptionFromErrorCode
Um delegado implementado por integradores que fornece exceções personalizadas.
- exceptionContext
- Object
Um objeto que contém informações contextuais sobre a origem ou o destino da exceção.