VintaSoft Twain .NET SDK v10.2
TwainException Constructor(SerializationInfo,StreamingContext)




Vintasoft.WpfTwain Namespace > TwainException Class > TwainException Constructor : TwainException 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.
Initializes a new instance of the TwainException class with serialized data.
Syntax
'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 TwainException(info, context)
protected TwainException( 
   SerializationInfo info,
   StreamingContext context
)
protected: TwainException( 
   SerializationInfo* info,
   StreamingContext context
)
protected:
TwainException( 
   SerializationInfo^ info,
   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.
Requirements

Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

See Also

Reference

TwainException Class
TwainException Members
Overload List