Skip to content

Reference

OpcNotificationFailedEventArgs Members

Provides the event data for the NotificationFailed and NotificationFailed events.

Reference

OpcNotificationFailedEventArgs Members ​

Type
OpcNotificationFailedEventArgs
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.

Properties ​

Exception ​

Gets the exception which describes why the notification message failed to be received.

csharp
public OpcException Exception { get; }
vbnet
Public ReadOnly Property Exception As OpcException

Property value

OpcException

An instance of the OpcException class whose Code states the reason, for example BadEncodingLimitsExceeded or BadDecodingError if a value of the message cannot be decoded, or BadMessageNotAvailable if the server no longer holds the message and its notifications are lost.

Handled ​

Gets or sets a value indicating whether the event handler has completely handled the event or whether the system should continue its own processing.

csharp
public bool Handled { get; set; }
vbnet
Public Property Handled As Boolean

Property value

Boolean

The value true if the event has been completely handled; otherwise, the value false. The default value is false.

Subscription ​

Gets the OpcSubscription the notification message belongs to.

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

Property value

OpcSubscription

An instance of the OpcSubscription class, or a null reference (Nothing in Visual Basic) if it is not known. A response which cannot be processed does not state the subscription of its message; it is known once the message is requested again from the server and fails again.