Share via


VisualizerObjectSource.TransferData Method

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

Syntax

'Declaration
Public Overridable Sub TransferData ( _
    target As Object, _
    incomingData As Stream, _
    outgoingData As Stream _
)
public virtual void TransferData(
    Object target,
    Stream incomingData,
    Stream outgoingData
)
public:
virtual void TransferData(
    Object^ target, 
    Stream^ incomingData, 
    Stream^ outgoingData
)
abstract TransferData : 
        target:Object * 
        incomingData:Stream * 
        outgoingData:Stream -> unit  
override TransferData : 
        target:Object * 
        incomingData:Stream * 
        outgoingData:Stream -> unit
public function TransferData(
    target : Object, 
    incomingData : Stream, 
    outgoingData : Stream
)

Parameters

  • target
    Type: Object

    Object being visualized.

  • incomingData
    Type: Stream

    Incoming data stream from the debugger side.

  • outgoingData
    Type: Stream

    Outgoing data stream going to the debugger side.

Remarks

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.

Examples

myVisObjSource.TransferData(myString, incoming, outgoing);

.NET Framework Security

See Also

Reference

VisualizerObjectSource Class

Microsoft.VisualStudio.DebuggerVisualizers Namespace