VintaSoft Twain .NET SDK 15.4: Documentation for .NET developer
Vintasoft.Twain Namespace / DeviceAsyncEventArgs Class / DeviceAsyncEventArgs Constructors / DeviceAsyncEventArgs Constructor(String,UInt32,Int16)
Syntax Requirements SeeAlso
In This Topic
DeviceAsyncEventArgs Constructor(String,UInt32,Int16)
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 batteryMinutes
The minutes of battery power remaining.
As UInteger, _
ByVal batteryPercentage
The percentage of battery power remaining.
As Int16 _
)
public DeviceAsyncEventArgs(
string deviceName,
uint batteryMinutes,
short batteryPercentage
)

Parameters

deviceName
The name of the device that generated the event.
batteryMinutes
The minutes of battery power remaining.
batteryPercentage
The percentage of battery power remaining.
Requirements

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

See Also