DebuggerTypeProxyAttribute Constructor (String)
Collapse the table of content
Expand the table of content

DebuggerTypeProxyAttribute Constructor (String)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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 name of the proxy type.

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft