DialogDebuggerVisualizer Constructors

Definition

Overloads

DialogDebuggerVisualizer()
Obsolete.

Creates a new instance of the DialogDebuggerVisualizer base class that uses the Legacy serialization policy when communicating with the VisualizerObjectSource.

DialogDebuggerVisualizer(FormatterPolicy)

Creates a new instance of the DialogDebuggerVisualizer base class that uses the specified FormatterPolicy as its serialization policy when communicating with the VisualizerObjectSource.

DialogDebuggerVisualizer()

Caution

Visualizers that target Visual Studio 17.6 or newer should use the other DialogDebuggerVisualizer overload and use a non-legacy formatting policy for improved security.

Creates a new instance of the DialogDebuggerVisualizer base class that uses the Legacy serialization policy when communicating with the VisualizerObjectSource.

protected:
 DialogDebuggerVisualizer();
protected:
 DialogDebuggerVisualizer();
 DialogDebuggerVisualizer();
protected DialogDebuggerVisualizer ();
[System.Obsolete("Visualizers that target Visual Studio 17.6 or newer should use the other DialogDebuggerVisualizer overload and use a non-legacy formatting policy for improved security.")]
protected DialogDebuggerVisualizer ();
Protected Sub New ()
Attributes

Remarks

Constructor for DialogDebuggerVisualizer.

Applies to

DialogDebuggerVisualizer(FormatterPolicy)

Creates a new instance of the DialogDebuggerVisualizer base class that uses the specified FormatterPolicy as its serialization policy when communicating with the VisualizerObjectSource.

protected DialogDebuggerVisualizer (Microsoft.VisualStudio.DebuggerVisualizers.FormatterPolicy preferredFormatterPolicy);
new Microsoft.VisualStudio.DebuggerVisualizers.DialogDebuggerVisualizer : Microsoft.VisualStudio.DebuggerVisualizers.FormatterPolicy -> Microsoft.VisualStudio.DebuggerVisualizers.DialogDebuggerVisualizer
Protected Sub New (preferredFormatterPolicy As FormatterPolicy)

Parameters

preferredFormatterPolicy
FormatterPolicy

The serialization policy that will be used by the visualizer.

Remarks

The serialization policy might get overridden by the debugger engine. Once the visualizer instance is created, derived classes can see the actual policy that will be used via the Microsoft.VisualStudio.DebuggerVisualizers.Impl.VisualizerObjectProvider.SelectedFormatterPolicy property.

Applies to