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

DebuggerTypeProxyAttribute Constructor (Type)

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

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

public DebuggerTypeProxyAttribute(
	Type type
)

Parameters

type
Type: System.Type
The proxy type.

ExceptionCondition
ArgumentNullException

type is null.

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