PerformanceCounterPermissionEntryCollection.OnSet Method (Int32, Object, Object)

 

This API supports the product 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
Available since 1.1
Return to top
Show: