Share via


ModelingException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the ModelingException class with serialized data.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
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: SerializationInfo

    The object that holds the serialized object data.

  • context
    Type: StreamingContext

    The contextual information about the source or the destination.

.NET Framework Security

See Also

Reference

ModelingException Class

ModelingException Overload

Microsoft.VisualStudio.Modeling Namespace