Initializes a new instance of MaxNewBytesAttribute with the type name of the instances that should be checked and the maximum number of new bytes allowed.

Namespace:  SciTech.NetMemProfiler
Assembly:  MemProfiler2 (in MemProfiler2.dll)

Syntax

C#
public MaxNewBytesAttribute(
	string typeName,
	long byteCount
)
Visual Basic
Public Sub New ( _
	typeName As String, _
	byteCount As Long _
)
Visual C++
public:
MaxNewBytesAttribute(
	String^ typeName, 
	long long byteCount
)

Parameters

typeName
Type: System..::..String
Type name of the instances that should be checked.
byteCount
Type: System..::..Int64
Defines the maximum number of new bytes that should exist after the target method has been executed.

Remarks

See Also