OpcContext Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcContext type exposes the following members.

Empty

Gets an empty OpcContext which can be used in cases there a session nor system specific context is not necessarily required.

C#

public static OpcContext Empty { get; }


Property Value

OpcContext

An instance of the OpcContext class without any contextual information.

Identity

Gets the OpcUserIdentity which belongs to the situation represented.

C#

public OpcUserIdentity Identity { get; }


Property Value

OpcUserIdentity

The OpcUserIdentity which belongs to the situation represented or a null reference (Nothing in Visual Basic) if there is no identity information available.

Namespaces

Gets a read-only collection of namespaces valid in the current OpcContext.

C#

public OpcReadOnlyNamespaceCollection Namespaces { get; }


Property Value

OpcReadOnlyNamespaceCollection

An instance of the OpcReadOnlyNamespaceCollection class with OpcNamespace items for each 'NamespaceUri' used to organize the nodes in an address space.

NodeIdFactory

Gets the OpcNodeIdFactory used to create new node identifiers using this context.

C#

public OpcNodeIdFactory NodeIdFactory { get; }


Property Value

OpcNodeIdFactory

The OpcNodeIdFactory used through this context or a null reference (Nothing in Visual Basic) if there is not node identifier factory associated with this context.

Owner

Gets the owner of the current OpcContext.

C#

public IOpcApplicationInstance Owner { get; }


Property Value

IOpcApplicationInstance

An instance implementing the IOpcApplicationInstance interface which has defined the current OpcContext.

PreferredLocales

Gets a collection of preferred locales (see CultureInfo.Name) to use to localize data and information.

C#

public virtual OpcLocaleCollection PreferredLocales { get; }


Property Value

OpcLocaleCollection

An instance of the OpcLocaleCollection class with CultureInfo.Names of the cultures to use to localize data and information in order of this OpcContext.

SessionId

Gets the session identifier which identifies the session within that the context has been created and is valid.

C#

public virtual OpcNodeId SessionId { get; }


Property Value

OpcNodeId

The OpcNodeId of the session.