Export (0) Print
Expand All

EventLogPermission Constructor (EventLogPermissionEntry[])

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

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

new : 
        permissionAccessEntries:EventLogPermissionEntry[] -> EventLogPermission

Parameters

permissionAccessEntries
Type: System.Diagnostics.EventLogPermissionEntry[]

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

ExceptionCondition
ArgumentNullException

permissionAccessEntries is a null reference (Nothing in Visual Basic).

.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