Graph Constructor (SerializationInfo, StreamingContext)

Special constructor that is used for deserialization only.

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

Syntax

'Declaration
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
protected Graph(
    SerializationInfo info,
    StreamingContext context
)
protected:
Graph(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> Graph
protected function Graph(
    info : SerializationInfo, 
    context : StreamingContext
)

Parameters

  • info
    Type: SerializationInfo

    Serialization information from which to retrieve the DGML for the graph.

  • context
    Type: StreamingContext

    Not used.

.NET Framework Security

See Also

Reference

Graph Class

Graph Overload

Microsoft.VisualStudio.GraphModel Namespace