ProtoElementBase Constructor (SerializationInfo, StreamingContext)
Creates an instance of the ProtoElementBase class.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaração
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.SerializationInfo
Contains the serialized ProtoElementBase data
- context
Type: System.Runtime.Serialization.StreamingContext
Serialization 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.