CopyOriginContext Constructor
Initializes a new instance of the CopyOriginContext class. This is used for deserialization.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Déclaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
protected CopyOriginContext(
SerializationInfo info,
StreamingContext context
)
protected:
CopyOriginContext(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> CopyOriginContext
protected function CopyOriginContext(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
The SerializationInfo that contains the serialized data with which to initialize this instance.
- context
Type: System.Runtime.Serialization.StreamingContext
The destination (see StreamingContext) for this serialization.
.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.