'Declaration
Protected Function New( _ ByVal info As SerializationInfo, _ ByVal context As StreamingContext _ )
'Usage
Dim info As SerializationInfo Dim context As StreamingContext Dim instance As New SimulatedCOMException(info, context)
protected SimulatedCOMException( SerializationInfo info, StreamingContext context )
protected: SimulatedCOMException( SerializationInfo^ info, StreamingContext context )
Parameters
- info
- The System.Runtime.Serialization.SerializationInfo object that holds the serialized object data.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - context
- The System.Runtime.Serialization.StreamingContext object that supplies the contextual information about the source or destination.