OpcSubscription Members

Namespace: Opc.UaFx.Server
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcSubscription type exposes the following members.

Diagnostics

Gets an instance of which provides diagnostic information about the operations performed and activities recognized on this OpcSubscription.

C#

public OpcSubscriptionDiagnostics Diagnostics { get; }


Property Value

OpcSubscriptionDiagnostics

An instance of the OpcSubscriptionDiagnostics class with bunch of diagnostic information.

Id

Gets the unique identifier of the subscription.

C#

public int Id { get; }


Property Value

Int32

The unique identifier of the subscription.

MonitoredItemsCount

Gets the total number of monitored items observed through this OpcSubscription.

C#

public int MonitoredItemsCount { get; }


Property Value

Int32

The number of monitored items observed. The value also includes monitored items its monitoring may be disabled.

Priority

Gets the priority used for publishing data change and event notifications.

C#

public int Priority { get; }


Property Value

Int32

The priority of the subscription. The greater the number the earlier are pending notifications published to the client.

PublishingInterval

Gets a value indicating the interval used to publish recent data change and event notifications in milliseconds.

C#

public double PublishingInterval { get; }


Property Value

Double

The milliseconds used as the interval used for publishing.

PublishingIsEnabled

Gets a value indicating whether the publishing of data change and event notifications is enabled for this subscription.

C#

public bool PublishingIsEnabled { get; }


Property Value

Boolean

The value true if notifications are pusblished to the client; otherwise the value false.

Session

Gets the session which owns this OpcSubscription.

C#

public OpcSession Session { get; }


Property Value

OpcSession

An instance of the OpcSession class which owns this subscription.

Dispose()

Releases all resources used by the OpcSubscription.

C#

public void Dispose()

Dispose(Boolean)

Releases the unmanaged resources used by the OpcSubscription and optionally releases the managed resources.

C#

protected virtual void Dispose(bool disposing)


Parameters

disposing Boolean

The value true to release both managed and unmanaged resources; otherwise the value false to release only unmanaged resources.

Explicit(OpcSubscription to Subscription)

Converts a OpcSubscription to an Server.Subscription object.

C#

[CLSCompliant(false)]
public static explicit operator Subscription(OpcSubscription value)

Implicit(Subscription to OpcSubscription)

Converts a Server.Subscription to an OpcSubscription object.

C#

[CLSCompliant(false)]
public static implicit operator OpcSubscription(Subscription value)