17 if (innerCollection ==
null)
21 return innerCollection;
55 if (permissionAccessEntries ==
null)
60 for (
int i = 0; i < permissionAccessEntries.Length; i++)
62 AddPermissionAccess(permissionAccessEntries[i]);
68 AddPermissionAccess(entry.GetBaseEntry());
71 internal new void Clear()
76 internal void RemovePermissionAccess(EventLogPermissionEntry entry)
78 RemovePermissionAccess(entry.GetBaseEntry());
81 private void SetNames()
84 base.TagNames =
new string[1]
The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method th...
EventLogPermission(EventLogPermissionEntry[] permissionAccessEntries)
Initializes a new instance of the T:System.Diagnostics.EventLogPermission class with the specified pe...
EventLogPermissionEntryCollection PermissionEntries
Gets the collection of permission entries for this permissions request.
Allows control of code access security permissions.
EventLogPermissionAccess
Defines access levels used by T:System.Diagnostics.EventLog permission classes.
EventLogPermission(EventLogPermissionAccess permissionAccess, string machineName)
Initializes a new instance of the T:System.Diagnostics.EventLogPermission class with the specified ac...
EventLogPermission(PermissionState state)
Initializes a new instance of the T:System.Diagnostics.EventLogPermission class with the specified pe...
PermissionState
Specifies whether a permission should have all or no access to resources at creation.
EventLogPermission()
Initializes a new instance of the T:System.Diagnostics.EventLogPermission class.
Controls code access permissions for event logging.
Specifies that the class can be serialized.
Defines the smallest unit of a code access security permission that is set for an T:System....
Contains a strongly typed collection of T:System.Diagnostics.EventLogPermissionEntry objects.
ResourcePermissionBaseEntry [] GetPermissionEntries()
Returns an array of the T:System.Security.Permissions.ResourcePermissionBaseEntry objects added to th...