The returned cancel ID can be used to cancel the call execution.
Visual Basic (Declaration) | |
---|---|
Public Overloads Function Write( _ ByVal name As String, _ ByVal val As Object, _ ByVal TransactionId As Integer, _ ByRef CancelId As Integer _ ) As Integer |
Parameters
- name
- IN: Full OPC item name
- val
- IN: value to write
- TransactionId
- This value is returned in the WriteComplete callback to allow the execution information to be associated with the Write call.
- CancelId
- OUT: Cancel id code