OPC Studio User's Guide and Reference
ToUAAttributeDataResult Method (EasyUADataChangeNotificationEventArgs)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.OperationModel Namespace > EasyUADataChangeNotificationEventArgs Class : ToUAAttributeDataResult Method
The event arguments to be converted.

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

Converts event arguments to a corresponding result object, UAAttributeDataResult.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<ContractAnnotationAttribute("null => null; notnull => notnull")>
Public Shared Function ToUAAttributeDataResult( _
   ByVal eventArgs As EasyUADataChangeNotificationEventArgs _
) As UAAttributeDataResult
'Usage
 
Dim eventArgs As EasyUADataChangeNotificationEventArgs
Dim value As UAAttributeDataResult
 
value = EasyUADataChangeNotificationEventArgs.ToUAAttributeDataResult(eventArgs)
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public static UAAttributeDataResult ToUAAttributeDataResult( 
   EasyUADataChangeNotificationEventArgs eventArgs
)
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public:
static UAAttributeDataResult^ ToUAAttributeDataResult( 
   EasyUADataChangeNotificationEventArgs^ eventArgs
) 

Parameters

eventArgs
The event arguments to be converted.

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

Return Value

The result object that corresponds to the event arguments. null if the event arguments passed in were null.

This method can return null (Nothing in Visual Basic).

Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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