Reference
OpcContext Class
Provides information and services about the system which belong to the current situation (process, thread, session, etc.).
Reference
OpcContext Class
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Members
- OpcContext Members
- Also in
- Opc.UaFx.Client
Provides information and services about the system which belong to the current situation (process, thread, session, etc.).
Syntax
csharp
public class OpcContextvbnet
Public Class OpcContextInheritance
Object → OpcContext
Implements
Derived types
Properties
| Name | Description |
|---|---|
| Current | Gets or sets the OpcContext for the current thread. |
| Empty | Gets an empty OpcContext which can be used in cases there a session nor system specific context is not necessarily required. |
| Identity | Gets the OpcUserIdentity which belongs to the situation represented. |
| Namespaces | Gets a read-only collection of namespaces valid in the current OpcContext. |
| NodeIdFactory | Gets the OpcNodeIdFactory used to create new node identifiers using this context. |
| Owner | Gets the owner of the current OpcContext. |
| PreferredLocales | Gets a collection of preferred locales ( |
| SessionId | Gets the session identifier which identifies the session within that the context has been created and is valid. |
Methods
| Name | Description |
|---|---|
| Enter | Enters a new OpcContext using the namespaces specified. |
| GetDataType | Retrieves the OpcDataTypeInfo object which is known under the name specified. |
| GetNodeType | Retrieves the OpcNodeTypeInfo object which is known under the name specified. |
| OfNode | Creates a context for the node specified which uses the information of the current OpcContext. |
Applies to
| Package | Versions |
|---|---|
| Opc. | v2. |

