IVisualizerObjectProvider.TransferData Method (Stream)

Namespace:   Microsoft.VisualStudio.DebuggerVisualizers
Assembly:  Microsoft.VisualStudio.DebuggerVisualizers (in Microsoft.VisualStudio.DebuggerVisualizers.dll)

Stream TransferData(
	Stream outgoingData


Type: System.IO.Stream

A stream of data that is to be transferred back to the debuggee side.

Return Value

Type: System.IO.Stream

Returns the data stream filled in by VisualizerObjectSource's TransferData method. There is no two-way stream-based communication between the debugger side and debuggee side (object source.)

Transfers arbitrary data to the VisualizerObjectSource and allows it to return any arbitrary data.

public class DebuggerSide : DialogDebuggerVisualizer
   override protected void Show(IDialogVisualizerService windowService, IVisualizerObjectProvider objectProvider)
      Stream myStream = objectProvider.GetData();
      Stream myNewStream;
      // Here is where you would show the visualizer and get back the modified data stream
   // Other class methods would be here.
Return to top