OpcRequestJudgementEventArgs Members

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

OpcRequestJudgementEventArgs(OpcServiceRequest, OpcRequestImpeachment, OpcResult)

Initializes a new instance of the OpcRequestJudgementEventArgs class using the event data specified.

C#

public OpcRequestJudgementEventArgs(OpcServiceRequest impeachedRequest, OpcRequestImpeachment impeachment, OpcResult impeachmentInfo)


Parameters

impeachedRequest OpcServiceRequest

The OpcServiceRequest instance providing the impeached request.

impeachment OpcRequestImpeachment

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

ArgumentNullException

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

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.

C#

public bool Dismiss { get; set; }


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.

C#

public OpcServiceRequest ImpeachedRequest { get; }


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.

C#

public OpcRequestImpeachment Impeachment { get; }


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.

C#

public OpcResult ImpeachmentInfo { get; }


Property Value

OpcResult

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

ToString()

Returns a string that represents the current OpcRequestJudgementEventArgs.

C#

public override string ToString()


Returns

String

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