Share via


GraphTransactionCanceledException.GetObjectData Method

ISerializable implementation. Gets the data for the object.

Serialize the graph into DGML.

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

Syntax

'Declaration
Public Overrides Sub GetObjectData ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
public override void GetObjectData(
    SerializationInfo info,
    StreamingContext context
)
public:
virtual void GetObjectData(
    SerializationInfo^ info, 
    StreamingContext context
) override
abstract GetObjectData : 
        info:SerializationInfo * 
        context:StreamingContext -> unit  
override GetObjectData : 
        info:SerializationInfo * 
        context:StreamingContext -> unit
public override function GetObjectData(
    info : SerializationInfo, 
    context : StreamingContext
)

Parameters

  • info
    Type: SerializationInfo

    Serialization information to add to.

  • context
    Type: StreamingContext

    Ignored.

Implements

ISerializable.GetObjectData(SerializationInfo, StreamingContext)
_Exception.GetObjectData(SerializationInfo, StreamingContext)

.NET Framework Security

See Also

Reference

GraphTransactionCanceledException Class

Microsoft.VisualStudio.GraphModel Namespace