Initializes a new instance of AllowNewInstancesAttribute with the type names of the instances that should be allowed when the target method has been executed.

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

Syntax

C#
public AllowNewInstancesAttribute(
	string[] typeNames
)
Visual Basic
Public Sub New ( _
	typeNames As String() _
)
Visual C++
public:
AllowNewInstancesAttribute(
	array<String^>^ typeNames
)

Parameters

typeNames
Type: array<System..::..String>[]()[][]
An array containing the type names of the instances that should be allowed.

Remarks

See Also