IVisualizerObjectProvider.TransferData(Stream) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Transfers the data bidirectionally to the TransferData method on the VisualizerObjectSource
public:
System::IO::Stream ^ TransferData(System::IO::Stream ^ outgoingData);
public System.IO.Stream TransferData (System.IO.Stream outgoingData);
abstract member TransferData : System.IO.Stream -> System.IO.Stream
Public Function TransferData (outgoingData As Stream) As Stream
Parameters
- outgoingData
- Stream
A stream of data that is to be transferred back to the debuggee side.
Returns
Returns the data stream filled in by TransferData(Object, Stream, Stream) method. There is no two-way stream-based communication between the debugger side and debuggee side (object source.)
Examples
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
objectProvider.TransferData(myNewStream);
}
// Other class methods would be here.
}
Remarks
Transfers arbitrary data to the VisualizerObjectSource and allows it to return any arbitrary data.