ReferenceFormatException Constructor (SerializationInfo, StreamingContext)
Constructor
Namespace: Microsoft.VisualStudio.Modeling.Integration
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.11.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: SerializationInfoSerializationInfo of the exception.
context
Type: StreamingContextStreamingContext 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