This topic has not yet been rated - Rate this topic

VisualizerObjectSource.TransferData Method 

Namespace: Microsoft.VisualStudio.DebuggerVisualizers
Assembly: Microsoft.VisualStudio.DebuggerVisualizers (in microsoft.visualstudio.debuggervisualizers.dll)

public virtual void TransferData (
	Object target,
	Stream incomingData,
	Stream outgoingData
)
public void TransferData (
	Object target, 
	Stream incomingData, 
	Stream outgoingData
)
public function TransferData (
	target : Object, 
	incomingData : Stream, 
	outgoingData : Stream
)

Parameters

target

Object being visualized.

incomingData

Incoming data stream from the debugger side.

outgoingData

Outgoing data stream going to the debugger side.

Transfers data simultaneously in both directions between the debuggee and debugger sides. This data may be any sort of request for the visualizer, whether to fetch data incrementally, or to update the state of the object being visualized.

The transfer is always initiated by the debugger side. This method can be very useful if you implement a custom messaging scheme. The Deserialize and Serialize helper methods can also be useful.

myVisObjSource.TransferData(myString, incoming, outgoing);
Did you find this helpful?
(1500 characters remaining)
Advertisement