VintaSoft Twain .NET SDK v10.2
Vintasoft.WpfTwain Namespace / DeviceAsyncEventArgs Class / DeviceAsyncEventArgs Constructor / DeviceAsyncEventArgs Constructor(DeviceEventId,String)
The event that has taken place.
The name of the device that generated the event.




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

    Parameters

    deviceEvent
    The event that has taken place.
    deviceName
    The name of the device that generated the event.
    Requirements

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

    See Also