ReferenceFormatException 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
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
protected ReferenceFormatException(
SerializationInfo info,
StreamingContext context
)
protected:
ReferenceFormatException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> ReferenceFormatException
protected function ReferenceFormatException(
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.
See Also
Reference
ReferenceFormatException Class