Export (0) Print
Expand All

PerformanceCounterPermissionEntryCollection.OnSet Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Performs additional custom processes before setting a value in the collection.

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

protected override void OnSet(
	int index,
	Object oldValue,
	Object newValue
)

Parameters

index
Type: System.Int32

The zero-based index at which oldValue can be found.

oldValue
Type: System.Object

The value to replace with newValue.

newValue
Type: System.Object

The new value of the permission entry at index.

.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