ModelingException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the ModelingException class with serialized data.
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 ModelingException(
SerializationInfo info,
StreamingContext context
)
protected:
ModelingException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> ModelingException
protected function ModelingException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
The object that holds the serialized object data.
- context
Type: System.Runtime.Serialization.StreamingContext
The contextual information about the source or the destination.
.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.