'Declaration Public Function New( _
ByVal deviceNameThe name of the device that generated the event.As String, _
ByVal powerSupplyThe 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.