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: SerializationInfoSerialization information from which to retrieve the DGML for the graph.
context
Type: StreamingContextNot used.
.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.