| RuntimeManagerRaiseDeviceEvent Method |
Note: This API is now obsolete.
The method is not used anymore. Each change of a DeviceServiceOutParameter will directly reflected to the runtime and can add events to the DeviceEventSource.
Namespace:
OpenTestSystem.Otx.Runtime.Api
Assembly:
OpenTestSystem.Otx.Runtime.Api (in OpenTestSystem.Otx.Runtime.Api.dll) Version: 5.5.0.0 (6.1.0.31040)
Syntax [ObsoleteAttribute("The method does nothing. Each change of a DeviceServiceOutParameter will directly reflected to the runtime.")]
public void RaiseDeviceEvent(
IDeviceService deviceService,
string deviceServiceOutParameterName,
Object deviceServiceOutParameterValue
)
<ObsoleteAttribute("The method does nothing. Each change of a DeviceServiceOutParameter will directly reflected to the runtime.")>
Public Sub RaiseDeviceEvent (
deviceService As IDeviceService,
deviceServiceOutParameterName As String,
deviceServiceOutParameterValue As Object
)
public:
[ObsoleteAttribute(L"The method does nothing. Each change of a DeviceServiceOutParameter will directly reflected to the runtime.")]
virtual void RaiseDeviceEvent(
IDeviceService^ deviceService,
String^ deviceServiceOutParameterName,
Object^ deviceServiceOutParameterValue
) sealed
Parameters
- deviceService
- Type: IDeviceService
Identifies the DeviceService and should be retreived from ExecuteDeviceServiceOccurredHandler event. The parameter shall be a valid DeviceService otherwise an ArgumentsNotMatchedException will be thrown. - deviceServiceOutParameterName
- Type: SystemString
Name of the DeviceServiceOutParameter. If the name is empty no DeviceServiceOutParameter will be changed and the value of deviceServiceOutParameterValue will ignored. - deviceServiceOutParameterValue
- Type: SystemObject
Value of the DeviceServiceOutParameter. The data type of the value shall be match with the data type of the parameter, otherwise an ArgumentsNotMatchedException will be thrown.
Implements
IRuntimeManagerRaiseDeviceEvent(IDeviceService, String, Object)Exceptions Remarks
This method signals the OTX-Runtime that a device event should be raised. An event will be added to the DeviceEventSource. This should be used for the asynchronous behavior of
ExecuteDeviceService. The value of one or more
DeviceServiceOutParameters can be changed.
See Also