Reference
OpcRequestProcessedEventArgs Members
Provides the event data for the RequestProcessed event.
Reference
OpcRequestProcessedEventArgs Members
- Type
- OpcRequestProcessedEventArgs
- Namespace
- Opc.UaFx.Server
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Inherits members from EventArgs.
Constructors
OpcRequestProcessedEventArgs
Initializes a new instance of the OpcRequestProcessedEventArgs class using the context, request, response and exception specified.
public OpcRequestProcessedEventArgs(
OpcContext context,
IOpcServiceRequest request,
IOpcServiceResponse response,
Exception exception)Public Sub New(
context As OpcContext,
request As IOpcServiceRequest,
response As IOpcServiceResponse,
exception As Exception)Parameters
| Name | Type | Description |
|---|---|---|
context | OpcContext | The OpcContext in which the request has been processed. |
request | IOpc | The IOpc |
response | IOpc | The IOpcrequest. |
exception | Exception | The Exception which occurred while processing the request or a null reference ( |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The context, request or response is a null reference ( |
Properties
Context
Gets the context in which the request has been processed.
public OpcContext Context { get; }Public ReadOnly Property Context As OpcContextProperty value
The OpcContext of the processing.
Exception
Gets the exception which occurred while processing the request.
public Exception Exception { get; }Public ReadOnly Property Exception As ExceptionProperty value
The Exception which occurred or a null reference (Nothing in Visual Basic) if none occurred. An exception of the underlying stack is provided as an OpcException.
IsUnsupportedService
Gets a value indicating whether the request failed because the server does not offer the service requested. A server listening on the discovery port receives such requests from applications which expect a local discovery server there.
public bool IsUnsupportedService { get; }Public ReadOnly Property IsUnsupportedService As BooleanProperty value
The value true if the request failed with BadServiceUnsupported; otherwise the value false.
Request
Gets the request processed.
public IOpcServiceRequest Request { get; }Public ReadOnly Property Request As IOpcServiceRequestProperty value
The IOpcServiceRequest received by the server.
RequestType
Gets the type of the request processed. Unlike the request validation events this value is also known for services the server does not offer.
public OpcRequestType RequestType { get; }Public ReadOnly Property RequestType As OpcRequestTypeProperty value
One of the members defined by the OpcRequestType enumeration or Generic if the service is not known at all.
Response
Gets the response to the request.
public IOpcServiceResponse Response { get; }Public ReadOnly Property Response As IOpcServiceResponseProperty value
The IOpcServiceResponse the server sends to the client.

