VintaSoft Twain .NET SDK v10.2
Vintasoft.Twain Namespace / TwainDeviceException Class / TwainDeviceException Constructor / TwainDeviceException 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.




In This Topic
    TwainDeviceException Constructor(SerializationInfo,StreamingContext)
    In This Topic
    Initializes a new instance of the TwainDeviceException 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 TwainDeviceException(info, context)
    protected TwainDeviceException( 
       SerializationInfo info,
       StreamingContext context
    )
    protected: TwainDeviceException( 
       SerializationInfo* info,
       StreamingContext context
    )
    protected:
    TwainDeviceException( 
       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