Connectivity Software User's Guide and Reference
Satisfies(UADataSetSubscriptionDescriptor,Boolean,Boolean,Boolean,Boolean) Method



OpcLabs.EasyOpcUAPrimitives Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UADataSetData Class > Satisfies Method : Satisfies(UADataSetSubscriptionDescriptor,Boolean,Boolean,Boolean,Boolean) Method
The dataset subscription descriptor containing the requirements to check against.

The value of this parameter cannot be null (Nothing in Visual Basic).

Indicates whether the message can potentially be a data message.
Indicates whether the message can potentially be an event message.
Returns true if the message is accepted as a data message.
Returns true if the message is accepted as an event message.
Determines whether this dataset data satisfies the requirements specified in a dataset subscription descriptor.
Syntax
'Declaration
 
Public Overloads Function Satisfies( _
   ByVal dataSetSubscriptionDescriptor As UADataSetSubscriptionDescriptor, _
   ByVal canBeDataMessage As Boolean, _
   ByVal canBeEventMessage As Boolean, _
   ByRef isDataMessage As Boolean, _
   ByRef isEventMessage As Boolean _
) As Boolean
'Usage
 
Dim instance As UADataSetData
Dim dataSetSubscriptionDescriptor As UADataSetSubscriptionDescriptor
Dim canBeDataMessage As Boolean
Dim canBeEventMessage As Boolean
Dim isDataMessage As Boolean
Dim isEventMessage As Boolean
Dim value As Boolean
 
value = instance.Satisfies(dataSetSubscriptionDescriptor, canBeDataMessage, canBeEventMessage, isDataMessage, isEventMessage)

Parameters

dataSetSubscriptionDescriptor
The dataset subscription descriptor containing the requirements to check against.

The value of this parameter cannot be null (Nothing in Visual Basic).

canBeDataMessage
Indicates whether the message can potentially be a data message.
canBeEventMessage
Indicates whether the message can potentially be an event message.
isDataMessage
Returns true if the message is accepted as a data message.
isEventMessage
Returns true if the message is accepted as an event message.

Return Value

true if this dataset data satisfies all requirements in the descriptor; otherwise, false.
Remarks

This method checks whether the dataset satisfies the subscription filter, including message type (data/event), required field values, and other criteria defined in the descriptor.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also