.NET Based OPC UA Client/Server SDK
3.2.0.519
|
A session and a subscription with the server must be established.
The following dialog shows an example dialog to delete an existing subcription. Press the button “Show Code” to display the corresponding code, and the button “Help” to show this documentation page.
The state of the current subscription is shown in the field at “Subscription State”. At pressing the button “Delete”, the subscription and all of its monitored items are deleted. The field “Subscription State” now shows the status “Deleted”. Check the box in front of “Use Asynchronous Pattern” to call “BeginDelete” instead of “Delete”.
The following code deletes an existing subscription and all of its monitored items.