VintaSoft Twain .NET SDK 15.0: Documentation for .NET developer
Vintasoft.WpfTwain Namespace / DeviceAsyncEventArgs Class / DeviceAsyncEventArgs Constructors / DeviceAsyncEventArgs Constructor(DeviceEventId,String)
Syntax Requirements SeeAlso
In This Topic
    DeviceAsyncEventArgs Constructor(DeviceEventId,String)
    In This Topic
    Initializes a new instance of the DeviceAsyncEventArgs class.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal deviceName
    The name of the device that generated the event.
    As DeviceEventId, _
    ByVal deviceEvent
    The event that has taken place.
    As String _
    )
    public DeviceAsyncEventArgs(
    DeviceEventId deviceName,
    string deviceEvent
    )
    public: DeviceAsyncEventArgs(
    DeviceEventId deviceName,
    string* deviceEvent
    )
    public:
    DeviceAsyncEventArgs(
    DeviceEventId deviceName,
    string^ deviceEvent
    )

    Parameters

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

    Target Platforms: .NET 8, .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also