Connectivity Software User's Guide and Reference
ServerOperationContext Property



OpcLabs.ServerOpcUA Assembly > OpcLabs.EasyOpc.UA.OperationModel Namespace > UADataVariableProcessedEventArgs Class : ServerOperationContext Property
The context for the server operation.
Syntax
'Declaration
 
<JetBrains.Annotations.NotNullAttribute()>
Public ReadOnly Property ServerOperationContext As UAServerOperationContext
'Usage
 
Dim instance As UADataVariableProcessedEventArgs
Dim value As UAServerOperationContext
 
value = instance.ServerOperationContext
[JetBrains.Annotations.NotNull()]
public UAServerOperationContext ServerOperationContext {get;}
[JetBrains.Annotations.NotNull()]
public:
property UAServerOperationContext^ ServerOperationContext {
   UAServerOperationContext^ get();
}

Property Value

The OpcLabs.EasyOpc.UA.UAServerOperationContext providing context about the server operation.

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

Remarks

This property provides access to the server operation context, which contains information about the operation being performed, such as security principal information, session details, and other contextual data. Event handlers can use this information to make decisions based on who is performing the operation and under what circumstances.

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