Reference
OpcOperationContext Members
Represents the context of an operation the server performs on behalf of a request of a client.
Reference
OpcOperationContext Members
- Type
- OpcOperationContext
- Namespace
- Opc.UaFx.Server
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Inherits members from OpcContext.
Properties
ClientID
Gets the handle the client has assigned to the request.
public long ClientID { get; }Public ReadOnly Property ClientID As LongProperty value
The request handle of the client or 0 if the context does not belong to a request.
Endpoint
Gets the endpoint through which the request has been received.
public OpcEndpointIdentity Endpoint { get; }Public ReadOnly Property Endpoint As OpcEndpointIdentityProperty value
The OpcEndpointIdentity of the endpoint or a null reference (Nothing in Visual Basic) if the endpoint is not known.
OperationDeadline
Gets the time by which the operation is to be completed.
public DateTime OperationDeadline { get; }Public ReadOnly Property OperationDeadline As DateProperty value
The DateTime in UTC derived from the timeout hint of the request or MaxValue if the request specifies no timeout.
OperationStatus
Gets the status of the operation.
public OpcStatus OperationStatus { get; }Public ReadOnly Property OperationStatus As OpcStatusProperty value
The OpcStatus of the operation.
Remarks
The status provides the status of the operation at the time the context has been created; later changes by the server are not reflected. Changing the code of the status sets the status of the operation; the server checks it while processing the request and aborts the request if it is bad.
PreferredLocales
Gets a collection of preferred locales (see Name) to use to localize data and information.
public override OpcLocaleCollection PreferredLocales { get; }Public Overrides ReadOnly Property PreferredLocales As OpcLocaleCollectionProperty value
An instance of the OpcLocaleCollection class with Names of the cultures to use to localize data and information in order of this OpcOperationContext.
Overrides
RequestId
Gets the identifier the server has assigned to the request.
public long RequestId { get; }Public ReadOnly Property RequestId As LongProperty value
The identifier of the request or 0 if the context does not belong to a request.
RequestType
Gets the type of the request.
public OpcRequestType RequestType { get; }Public ReadOnly Property RequestType As OpcRequestTypeProperty value
One of the members defined by the OpcRequestType enumeration; Generic if the context does not belong to a request.
Session
Gets the session in which the request has been received.
public OpcSession Session { get; }Public ReadOnly Property Session As OpcSessionProperty value
The OpcSession of the request or a null reference (Nothing in Visual Basic) if the request does not belong to a session.
SessionId
Gets the identifier of the session in which the request has been received.
public override OpcNodeId SessionId { get; }Public Overrides ReadOnly Property SessionId As OpcNodeIdProperty value
The OpcNodeId of the session or a null reference (Nothing in Visual Basic) if the request does not belong to a session.
Overrides
Socket
Gets the local and remote endpoints of the connection through which the request has been received.
public OpcSocketIdentity Socket { get; }Public ReadOnly Property Socket As OpcSocketIdentityProperty value
The OpcSocketIdentity of the connection or a null reference (Nothing in Visual Basic) if the endpoints are not known.

