Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Namespace: Microsoft.VisualStudio.DebuggerVisualizers
Assembly: Microsoft.VisualStudio.DebuggerVisualizers (in Microsoft.VisualStudio.DebuggerVisualizers.dll)
Syntax
'Declaration
Function TransferData ( _
outgoingData As Stream _
) As Stream
Stream TransferData(
Stream outgoingData
)
Stream^ TransferData(
Stream^ outgoingData
)
abstract TransferData :
outgoingData:Stream -> Stream
function TransferData(
outgoingData : Stream
) : Stream
Parameters
outgoingData
Type: System.IO.StreamA 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.)
Remarks
Transfers arbitrary data to the VisualizerObjectSource and allows it to return any arbitrary data.
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.
}
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.