Reference
OpcRequestJudgementEventArgs Members
Provides the event data for 'RequestJudgement' events.
Reference
OpcRequestJudgementEventArgs Members
- Type
- OpcRequestJudgementEventArgs
- Namespace
- Opc.UaFx.Services
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Inherits members from EventArgs.
Constructors
OpcRequestJudgementEventArgs
Initializes a new instance of the OpcRequestJudgementEventArgs class using the event data specified.
public OpcRequestJudgementEventArgs(
OpcServiceRequest impeachedRequest,
OpcRequestImpeachment impeachment,
OpcResult impeachmentInfo)Public Sub New(
impeachedRequest As OpcServiceRequest,
impeachment As OpcRequestImpeachment,
impeachmentInfo As OpcResult)Parameters
| Name | Type | Description |
|---|---|---|
impeachedRequest | Opc | The Opc |
impeachment | Opc | The kind of impeachement the impeached request is confronted with. |
impeachmentInfo | OpcResult | The OpcResult which provides additional information about the impeachment. This information is also used in case of an non-dismissed judgement for an exception. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The impeachedRequest or impeachmentInfo is a null reference ( |
Properties
Dismiss
Gets or sets a value indicating whether the impeachment of the ImpeachedRequest is to be rejected independent from the Impeachment of the request judgement.
public bool Dismiss { get; set; }Public Property Dismiss As BooleanProperty value
The value true to reject the impeachment of the ImpeachedRequest; otherwise the value false. The default value is false.
ImpeachedRequest
Gets the Request which is impeached.
public OpcServiceRequest ImpeachedRequest { get; }Public ReadOnly Property ImpeachedRequest As OpcServiceRequestProperty value
An instance of the OpcServiceRequest class representing the request which is impeached.
Impeachment
Gets a value indicating the kind of impeachment the ImpeachedRequest is confronted with.
public OpcRequestImpeachment Impeachment { get; }Public ReadOnly Property Impeachment As OpcRequestImpeachmentProperty value
One of the members defined by the OpcRequestImpeachment enumeration.
ImpeachmentInfo
Gets the information used to represent the Impeachment in case there an exception is to be thrown.
public OpcResult ImpeachmentInfo { get; }Public ReadOnly Property ImpeachmentInfo As OpcResultProperty value
The information associated with the Impeachment which is used for any subsequently thrown exception.
Methods
ToString
Returns a string that represents the current OpcRequestJudgementEventArgs.
public override string ToString()Public Overrides Function ToString() As StringReturns
A string that represents the current OpcRequestJudgementEventArgs including either the ImpeachmentInfo (if available) or the Impeachment of the event data represented.
Overrides

