EventLogPermission Constructor (EventLogPermissionEntry[])

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public EventLogPermission(
	EventLogPermissionEntry[] permissionAccessEntries
)

Parameters

permissionAccessEntries
Type: System.Diagnostics.EventLogPermissionEntry[]

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

Exception Condition
ArgumentNullException

permissionAccessEntries is null.

.NET Framework
Available since 1.1
Return to top
Show: