CopyOriginContext Constructor
Initializes a new instance of the CopyOriginContext class. This is used for deserialization.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
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.SerializationInfoThe SerializationInfo that contains the serialized data with which to initialize this instance.
context
Type: System.Runtime.Serialization.StreamingContextThe 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.