ProtoElementBase Constructor (SerializationInfo, StreamingContext)
Creates an instance of the ProtoElementBase class.
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 ProtoElementBase(
SerializationInfo info,
StreamingContext context
)
protected:
ProtoElementBase(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> ProtoElementBase
protected function ProtoElementBase(
info : SerializationInfo,
context : StreamingContext
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfoContains the serialized ProtoElementBase data
context
Type: System.Runtime.Serialization.StreamingContextSerialization context hint
.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.