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)

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

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

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

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

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

Объект, содержащий контекстные сведения об источнике или назначении исключения.

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