ObjectSecurity<T> ObjectSecurity<T> ObjectSecurity<T> Constructors

Definition

Overloads

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

Initializes a new instance of the ObjectSecurity`1 class.

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

Initializes a new instance of the ObjectSecurity`1 class.

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

Initializes a new instance of the ObjectSecurity`1 class.

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

Initializes a new instance of the ObjectSecurity`1 class.

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

Initializes a new instance of the ObjectSecurity`1 class.

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

Initializes a new instance of the ObjectSecurity`1 class.

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)>

Parameters

isContainer
Boolean Boolean Boolean

true if the new ObjectSecurity<T> object is a container object.

resourceType
ResourceType ResourceType ResourceType

The type of resource.

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

Initializes a new instance of the ObjectSecurity`1 class.

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)>

Parameters

isContainer
Boolean Boolean Boolean

true if the new ObjectSecurity<T> object is a container object.

resourceType
ResourceType ResourceType ResourceType

The type of resource.

safeHandle
SafeHandle SafeHandle SafeHandle

A handle.

includeSections
AccessControlSections AccessControlSections AccessControlSections

The sections to include.

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

Initializes a new instance of the ObjectSecurity`1 class.

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);
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)>

Parameters

isContainer
Boolean Boolean Boolean

true if the new ObjectSecurity<T> object is a container object.

resourceType
ResourceType ResourceType ResourceType

The type of resource.

name
String String String

The name of the securable object with which the new ObjectSecurity<T> object is associated.

includeSections
AccessControlSections AccessControlSections AccessControlSections

The sections to include.

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

Initializes a new instance of the ObjectSecurity`1 class.

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);
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)>

Parameters

isContainer
Boolean Boolean Boolean

true if the new ObjectSecurity<T> object is a container object.

resourceType
ResourceType ResourceType ResourceType

The type of resource.

safeHandle
SafeHandle SafeHandle SafeHandle

A handle.

includeSections
AccessControlSections AccessControlSections AccessControlSections

The sections to include.

exceptionFromErrorCode
NativeObjectSecurity.ExceptionFromErrorCode NativeObjectSecurity.ExceptionFromErrorCode NativeObjectSecurity.ExceptionFromErrorCode

A delegate implemented by integrators that provides custom exceptions.

exceptionContext
Object Object Object

An object that contains contextual information about the source or destination of the exception.

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

Initializes a new instance of the ObjectSecurity`1 class.

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);
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)>

Parameters

isContainer
Boolean Boolean Boolean

true if the new ObjectSecurity<T> object is a container object.

resourceType
ResourceType ResourceType ResourceType

The type of resource.

name
String String String

The name of the securable object with which the new ObjectSecurity<T> object is associated.

includeSections
AccessControlSections AccessControlSections AccessControlSections

The sections to include.

exceptionFromErrorCode
NativeObjectSecurity.ExceptionFromErrorCode NativeObjectSecurity.ExceptionFromErrorCode NativeObjectSecurity.ExceptionFromErrorCode

A delegate implemented by integrators that provides custom exceptions.

exceptionContext
Object Object Object

An object that contains contextual information about the source or destination of the exception.

Applies to