ObjectSecurity<T> Конструкторы

Определение

Создает новый экземпляр объекта ObjectSecurity'1, используя указанные значения.

Перегрузки

Имя Описание
ObjectSecurity<T>(Boolean, ResourceType)

Инициализирует новый экземпляр класса ObjectSecurity'1.

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

Инициализирует новый экземпляр класса ObjectSecurity'1.

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

Инициализирует новый экземпляр класса ObjectSecurity'1.

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

Инициализирует новый экземпляр класса ObjectSecurity'1.

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

Инициализирует новый экземпляр класса ObjectSecurity'1.

ObjectSecurity<T>(Boolean, ResourceType)

Исходный код:
ObjectSecurityT.cs

Инициализирует новый экземпляр класса 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)

Параметры

isContainer
Boolean

true Значение , если новый ObjectSecurity<T> объект является объектом контейнера.

resourceType
ResourceType

Тип ресурса.

Применяется к

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

Исходный код:
ObjectSecurityT.cs

Инициализирует новый экземпляр класса 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)

Параметры

isContainer
Boolean

true Значение , если новый ObjectSecurity<T> объект является объектом контейнера.

resourceType
ResourceType

Тип ресурса.

safeHandle
SafeHandle

Дескриптор.

includeSections
AccessControlSections

Включаемые разделы.

Применяется к

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

Исходный код:
ObjectSecurityT.cs

Инициализирует новый экземпляр класса 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)

Параметры

isContainer
Boolean

true Значение , если новый ObjectSecurity<T> объект является объектом контейнера.

resourceType
ResourceType

Тип ресурса.

name
String

Имя защищаемого объекта, с которым связан новый ObjectSecurity<T> объект.

includeSections
AccessControlSections

Включаемые разделы.

Применяется к

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

Исходный код:
ObjectSecurityT.cs

Инициализирует новый экземпляр класса 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)

Параметры

isContainer
Boolean

true Значение , если новый ObjectSecurity<T> объект является объектом контейнера.

resourceType
ResourceType

Тип ресурса.

safeHandle
SafeHandle

Дескриптор.

includeSections
AccessControlSections

Включаемые разделы.

exceptionFromErrorCode
NativeObjectSecurity.ExceptionFromErrorCode

Делегат, реализованный интеграторами, предоставляющими пользовательские исключения.

exceptionContext
Object

Объект, содержащий контекстную информацию о источнике или назначении исключения.

Применяется к

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

Исходный код:
ObjectSecurityT.cs

Инициализирует новый экземпляр класса 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)

Параметры

isContainer
Boolean

true Значение , если новый ObjectSecurity<T> объект является объектом контейнера.

resourceType
ResourceType

Тип ресурса.

name
String

Имя защищаемого объекта, с которым связан новый ObjectSecurity<T> объект.

includeSections
AccessControlSections

Включаемые разделы.

exceptionFromErrorCode
NativeObjectSecurity.ExceptionFromErrorCode

Делегат, реализованный интеграторами, предоставляющими пользовательские исключения.

exceptionContext
Object

Объект, содержащий контекстную информацию о источнике или назначении исключения.

Применяется к