ModelBusException Constructor (SerializationInfo, StreamingContext)
Constructor
Namespace: Microsoft.VisualStudio.Modeling.Integration
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0.dll)
Syntax
'Déclaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
protected ModelBusException(
SerializationInfo info,
StreamingContext context
)
protected:
ModelBusException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> ModelBusException
protected function ModelBusException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
SerializationInfo of the exception.
- context
Type: System.Runtime.Serialization.StreamingContext
StreamingContext of the serialized exception.
.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.