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




Vintasoft.Twain Namespace > TwainInvalidStateException Class > TwainInvalidStateException Constructor : TwainInvalidStateException 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 TwainInvalidStateException 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 TwainInvalidStateException(info, context)
protected TwainInvalidStateException( 
   SerializationInfo info,
   StreamingContext context
)
protected: TwainInvalidStateException( 
   SerializationInfo* info,
   StreamingContext context
)
protected:
TwainInvalidStateException( 
   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

TwainInvalidStateException Class
TwainInvalidStateException Members
Overload List