Skip to content

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.

csharp
public OpcRequestJudgementEventArgs(
    OpcServiceRequest impeachedRequest,
    OpcRequestImpeachment impeachment,
    OpcResult impeachmentInfo)
vbnet
Public Sub New(
    impeachedRequest As OpcServiceRequest,
    impeachment As OpcRequestImpeachment,
    impeachmentInfo As OpcResult)

Parameters

NameTypeDescription
impeachedRequestOpcServiceRequestThe OpcServiceRequest instance providing the impeached request.
impeachmentOpcRequestImpeachmentThe kind of impeachement the impeached request is confronted with.
impeachmentInfoOpcResultThe OpcResult which provides additional information about the impeachment. This information is also used in case of an non-dismissed judgement for an exception.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe impeachedRequest or impeachmentInfo is a null reference (Nothing in Visual Basic).

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.

csharp
public bool Dismiss { get; set; }
vbnet
Public Property Dismiss As Boolean

Property value

Boolean

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.

csharp
public OpcServiceRequest ImpeachedRequest { get; }
vbnet
Public ReadOnly Property ImpeachedRequest As OpcServiceRequest

Property value

OpcServiceRequest

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.

csharp
public OpcRequestImpeachment Impeachment { get; }
vbnet
Public ReadOnly Property Impeachment As OpcRequestImpeachment

Property value

OpcRequestImpeachment

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.

csharp
public OpcResult ImpeachmentInfo { get; }
vbnet
Public ReadOnly Property ImpeachmentInfo As OpcResult

Property value

OpcResult

The information associated with the Impeachment which is used for any subsequently thrown exception.

Methods ​

ToString ​

override

Returns a string that represents the current OpcRequestJudgementEventArgs.

csharp
public override string ToString()
vbnet
Public Overrides Function ToString() As String

Returns

String

A string that represents the current OpcRequestJudgementEventArgs including either the ImpeachmentInfo (if available) or the Impeachment of the event data represented.

Overrides

ToString()