VisualizerObjectSource.CreateReplacementObject(Object, Stream) Method

Definition

Creates and returns a replacement object for the object passed in based on the serialized data.

public:
 virtual System::Object ^ CreateReplacementObject(System::Object ^ target, System::IO::Stream ^ incomingData);
public virtual object CreateReplacementObject (object target, System.IO.Stream incomingData);
abstract member CreateReplacementObject : obj * System.IO.Stream -> obj
override this.CreateReplacementObject : obj * System.IO.Stream -> obj
Public Overridable Function CreateReplacementObject (target As Object, incomingData As Stream) As Object

Parameters

target
Object

The object being debugged.

incomingData
Stream

The serialized blob from the visualizer.

Returns

A new object which the EE will replace o with.

Remarks

Reads an incoming data stream from the debugger side and uses the data to construct a replacement object for the target object. This method is called when ReplaceData or ReplaceObject is called on the debugger side.

Applies to