DebuggerTypeProxyAttribute Constructor (String)

 

Initializes a new instance of the DebuggerTypeProxyAttribute class using the type name of the proxy.

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

public DebuggerTypeProxyAttribute(
	string typeName
)

Parameters

typeName
Type: System.String

The type name of the proxy type.

The debugger creates a new instance of the type proxy class every time it needs to display a variable of the target type. This can have performance implications. As a result, you should not do any more work in the constructor than absolutely necessary.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: