VintaSoft Twain .NET SDK v10.2
DeviceAsyncEventArgs Constructor(String,UInt32,Int16)




Vintasoft.Twain Namespace > DeviceAsyncEventArgs Class > DeviceAsyncEventArgs Constructor : DeviceAsyncEventArgs Constructor(String,UInt32,Int16)
The name of the device that generated the event.
The minutes of battery power remaining.
The percentage of battery power remaining.
Initializes a new instance of the DeviceAsyncEventArgs class.
Syntax
'Declaration
 
Public Function New( _
   ByVal deviceName As String, _
   ByVal batteryMinutes As UInteger, _
   ByVal batteryPercentage As Short _
)
'Usage
 
Dim deviceName As String
Dim batteryMinutes As UInteger
Dim batteryPercentage As Short
 
Dim instance As New DeviceAsyncEventArgs(deviceName, batteryMinutes, batteryPercentage)
public DeviceAsyncEventArgs( 
   string deviceName,
   uint batteryMinutes,
   short batteryPercentage
)
public: DeviceAsyncEventArgs( 
   string* deviceName,
   uint batteryMinutes,
   short batteryPercentage
)
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: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

See Also

Reference

DeviceAsyncEventArgs Class
DeviceAsyncEventArgs Members
Overload List