Share via


IVisualizerTarget Interface

Definition

Marshalable interface which allows a debugger visualizer extension to communicate with the debugger and retrieve the value of the target object or replace it.

[StreamJsonRpc.RpcMarshalable]
public interface IVisualizerTarget : IDisposable
[<StreamJsonRpc.RpcMarshalable>]
type IVisualizerTarget = interface
    interface IDisposable
Public Interface IVisualizerTarget
Implements IDisposable
Attributes
StreamJsonRpc.RpcMarshalableAttribute
Implements

Remarks

IVisualizerTargetClient represents the corresponding client interface that is implemented by the extension.

VisualizerTargetData represents the corresponding data passed by Visual Studio to the extension describing the target process and object.

The party receiving an IVisualizerTarget instance from a StreamJsonRpc call is responsible for its disposal.

If the debugger visualizer disposes the IVisualizerTarget, the debugger should immediately dispose the corresponding IRemoteUserControl and then dispose the IVisualizerTargetClient.

Methods

ReplaceTargetObjectAsync(ReadOnlySequence<Byte>, CancellationToken)

Sends a message to the visualizer object source in the target process requeseting to replace the target object.

RequestDataAsync(Nullable<ReadOnlySequence<Byte>>, CancellationToken)

Sends a message to the visualizer object source in the target process and returns the corresponding response.

Applies to