VintaSoft Twain .NET SDK v10.2
TwainDeviceManagerException Constructor(String,Exception)




Vintasoft.WpfTwain Namespace > TwainDeviceManagerException Class > TwainDeviceManagerException Constructor : TwainDeviceManagerException Constructor(String,Exception)
The error message that explains the reason for the exception.
The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
Initializes a new instance of the TwainDeviceManagerException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Syntax
'Declaration
 
Public Function New( _
   ByVal message As String, _
   ByVal innerException As Exception _
)
'Usage
 
Dim message As String
Dim innerException As Exception
 
Dim instance As New TwainDeviceManagerException(message, innerException)
public TwainDeviceManagerException( 
   string message,
   Exception innerException
)
public: TwainDeviceManagerException( 
   string* message,
   Exception* innerException
)
public:
TwainDeviceManagerException( 
   String^ message,
   Exception^ innerException
)

Parameters

message
The error message that explains the reason for the exception.
innerException
The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
Requirements

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

See Also

Reference

TwainDeviceManagerException Class
TwainDeviceManagerException Members
Overload List