Export (0) Print
Expand All

ICollectData.CollectData Method

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

Collects the performance data for the performance DLL.

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

void CollectData(
	int id,
	IntPtr valueName,
	IntPtr data,
	int totalBytes,
	out IntPtr res
)

Parameters

id
Type: System.Int32

The call index.

valueName
Type: System.IntPtr

A pointer to a Unicode string list with the requested object identifiers.

data
Type: System.IntPtr

A pointer to the data buffer.

totalBytes
Type: System.Int32

A pointer to a number of bytes.

res
Type: System.IntPtr

When this method returns, contains a IntPtr to the first byte after the data, -1 for an error, or -2 if a larger buffer is required. This parameter is passed uninitialized.

.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