Skip to content

Reference

OpcClient.DefaultSubscription Property

Gets or sets the subscription which is assigned as the default subscription of the sessions used by the OpcClient.

Reference

OpcClient.DefaultSubscription Property ​

Type
OpcClient
Namespace
Opc.UaFx.Client
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcClient Members
Also in
Opc.UaFx.Client

Gets or sets the subscription which is assigned as the default subscription of the sessions used by the OpcClient.

csharp
public OpcSubscription DefaultSubscription { get; set; }
vbnet
Public Property DefaultSubscription As OpcSubscription

Property value

OpcSubscription

An instance of the OpcSubscription class or a null reference (Nothing in Visual Basic) if no subscription has been set and the client has not yet been connected.

Remarks

The OpcClient neither creates this subscription on the server nor adds it to the Subscriptions. If no subscription has been set, the client provides the default subscription of the first session it uses, which is not created on the server either. To create a subscription on the server use CreateSubscription.