VintaSoft Twain .NET SDK v10.2
Vintasoft.WpfTwain Namespace / DeviceAsyncEventArgs Class / DeviceAsyncEventArgs Constructor / DeviceAsyncEventArgs Constructor(String,FlashMode)
The name of the device that generated the event.
The current flash setting.




In This Topic
    DeviceAsyncEventArgs Constructor(String,FlashMode)
    In This Topic
    Initializes a new instance of the DeviceAsyncEventArgs class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal deviceName As String, _
       ByVal flashUsed As FlashMode _
    )
    'Usage
     
    Dim deviceName As String
    Dim flashUsed As FlashMode
     
    Dim instance As New DeviceAsyncEventArgs(deviceName, flashUsed)
    public DeviceAsyncEventArgs( 
       string deviceName,
       FlashMode flashUsed
    )
    public: DeviceAsyncEventArgs( 
       string* deviceName,
       FlashMode flashUsed
    )
    public:
    DeviceAsyncEventArgs( 
       String^ deviceName,
       FlashMode flashUsed
    )

    Parameters

    deviceName
    The name of the device that generated the event.
    flashUsed
    The current flash setting.
    Requirements

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

    See Also