VistaDB 5






VistaDB.Diagnostic Namespace > VistaDBDataTableException Class > VistaDBDataTableException Constructor : VistaDBDataTableException Constructor(SerializationInfo,StreamingContext)
The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.
The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.
VistaDBDataTableException Constructor(SerializationInfo,StreamingContext)
Initializes a new instance of the VistaDBDataTableException class with serialized data.
Syntax
'Declaration
 
Protected Function New( _
   ByVal info As System.Runtime.Serialization.SerializationInfo, _
   ByVal context As System.Runtime.Serialization.StreamingContext _
)
'Usage
 
Dim info As System.Runtime.Serialization.SerializationInfo
Dim context As System.Runtime.Serialization.StreamingContext
 
Dim instance As New VistaDBDataTableException(info, context)
protected VistaDBDataTableException( 
   System.Runtime.Serialization.SerializationInfo info,
   System.Runtime.Serialization.StreamingContext context
)
protected VistaDBDataTableException( 
    info: System.Runtime.Serialization.SerializationInfo;
    context: System.Runtime.Serialization.StreamingContext
); 
protected function VistaDBDataTableException( 
   info : System.Runtime.Serialization.SerializationInfo,
   context : System.Runtime.Serialization.StreamingContext
);
protected: VistaDBDataTableException( 
   System.Runtime.Serialization.SerializationInfo* info,
   System.Runtime.Serialization.StreamingContext context
)
protected:
VistaDBDataTableException( 
   System.Runtime.Serialization.SerializationInfo^ info,
   System.Runtime.Serialization.StreamingContext context
)

Parameters

info
The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.
context
The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.
Exceptions
ExceptionDescription
The info parameter is null.
The class name is null or System.Exception.HResult is zero (0).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also