AsyncWriteComplete event

Description
This event is called when an AsyncWrite is completed.
Syntax
AsyncWriteComplete
(TransactionID As Long, NumItems As Long, ClientHandles() As Long, Errors() As Long)
TransactionID
— The client specified transaction ID.
NumItems
— Number of items returned.
ClientHandles
— Array of client handles for the items.
Errors
— Array of Long's indicating the success of the individual item writes.
Example
Dim i As Long
For i = 1 To NumItems
If Errors(i) > 0 Then
txtStatus = MyOPCServer.GetErrorString(Errors(i))
End If
Next 'i
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal