VintaSoft Twain .NET SDK 15.0: Documentation for .NET developer
Vintasoft.Twain Namespace / DeviceAsyncEventArgs Class / DeviceAsyncEventArgs Constructors / DeviceAsyncEventArgs Constructor(String,PowerSupplyMode)
Syntax Requirements SeeAlso
In This Topic
    DeviceAsyncEventArgs Constructor(String,PowerSupplyMode)
    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 String, _
    ByVal powerSupply
    The current power supply in use.
    As PowerSupplyMode _
    )
    public DeviceAsyncEventArgs(
    string deviceName,
    PowerSupplyMode powerSupply
    )
    public: DeviceAsyncEventArgs(
    string* deviceName,
    PowerSupplyMode powerSupply
    )
    public:
    DeviceAsyncEventArgs(
    string^ deviceName,
    PowerSupplyMode powerSupply
    )

    Parameters

    deviceName
    The name of the device that generated the event.
    powerSupply
    The current power supply in use.
    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