Skip to content

Reference

OpcNotificationReceivedEventArgs Members

Provides the event data for the NotificationReceived and NotificationReceived events.

Reference

OpcNotificationReceivedEventArgs Members ​

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

Inherits members from EventArgs.

Constructors ​

OpcNotificationReceivedEventArgs ​

Initializes a new instance of the OpcNotificationReceivedEventArgs class using the subscription and notification specified.

csharp
public OpcNotificationReceivedEventArgs(
    OpcSubscription subscription,
    OpcNotification notification)
vbnet
Public Sub New(subscription As OpcSubscription, notification As OpcNotification)

Parameters

NameTypeDescription
subscriptionOpcSubscriptionThe OpcSubscription to which the notification belongs.
notificationOpcNotificationThe OpcNotification received.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe subscription or notification is a null reference (Nothing in Visual Basic).

Properties ​

Notification ​

Gets the notification received.

csharp
public OpcNotification Notification { get; }
vbnet
Public ReadOnly Property Notification As OpcNotification

Property value

OpcNotification

The OpcNotification received.

Subscription ​

Gets the subscription to which the notification belongs.

csharp
public OpcSubscription Subscription { get; }
vbnet
Public ReadOnly Property Subscription As OpcSubscription

Property value

OpcSubscription

The OpcSubscription to which the Notification belongs.