Share via


CopyOriginContext(SerializationInfo, StreamingContext) Constructor

Definition

Initializes a new instance of the CopyOriginContext class. This is used for deserialization.

protected:
 CopyOriginContext(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected CopyOriginContext (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.Modeling.CopyOriginContext : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.Modeling.CopyOriginContext
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The SerializationInfo that contains the serialized data with which to initialize this instance.

context
StreamingContext

The destination (see StreamingContext) for this serialization.

Applies to