Export (0) Print
Expand All

EventLogPermission Constructor (array<EventLogPermissionEntry>)

Initializes a new instance of the EventLogPermission class with the specified permission entries.

Namespace:  System.Diagnostics
Assembly:  System (in System.dll)

public:
EventLogPermission(
	array<EventLogPermissionEntry^>^ permissionAccessEntries
)

Parameters

permissionAccessEntries
Type: array<System.Diagnostics::EventLogPermissionEntry>

An array of objects that represent permission entries. The PermissionEntries property is set to this value.

ExceptionCondition
ArgumentNullException

permissionAccessEntries is nullptr.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft