Skip to content

Reference

OpcPathProbing Members

Provides an abstract base class which defines mechanisms to evaluate string-based path values used to access the file system.

Reference

OpcPathProbing Members ​

Type
OpcPathProbing
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Constructors ​

OpcPathProbing ​

protected

Initializes a new instance of the OpcPathProbing class.

csharp
protected OpcPathProbing()
vbnet
Protected Sub New()

Methods ​

Evaluate ​

Processes the evaluation of the string-based path value associated with this OpcPathProbing and offers the determined and fulfilled path information accordingly.

csharp
public string Evaluate()
vbnet
Public Function Evaluate() As String

Returns

String

The full qualified string-based path which fulfills the needs of existence, accessibility and other circumstances or a null reference (Nothing in Visual Basic) if the path information could not fulfill at least one of the requirements associated with this OpcPathProbing. For more information about the failure of the evaluation handle the Failed event of this instance accordingly.

EvaluateCore ​

protected · abstract

When implemented in a derived class, processes the implementation specific evaluation of the string-based path value associated with this OpcPathProbing specialization and offers the determined and fulfilled path information accordingly.

csharp
protected abstract string EvaluateCore()
vbnet
Protected MustOverride Function EvaluateCore() As String

Returns

String

The full qualified string-based path which fulfills the needs of this probing or a null reference (Nothing in Visual Basic) if the path information could not fulfill at least one of the requirements of this probing.

OnFailed ​

protected · virtual

Raises the Failed event of the OpcPathProbing.

csharp
protected virtual void OnFailed(OpcPathProbingFailedEventArgs e)
vbnet
Protected Overridable Sub OnFailed(e As OpcPathProbingFailedEventArgs)

Parameters

NameTypeDescription
eOpcPathProbingFailedEventArgsThe event data offering the reason of the failed evaluation.

ReportFailed ​

protected · 3 overloads

OverloadDescription
ReportFailed(Exception)protectedReports the failure of the evaluation using the exception which led to the nonsuccess.
ReportFailed(Exception, string, params object[])protectedReports the failure of the evaluation using the exception which led to the nonsuccess.
ReportFailed(string, params object[])protectedReports the failure of the evaluation using the message and arguments information to describe the evaluation task which failed.

ReportFailed(Exception) ​

protected

Reports the failure of the evaluation using the exception which led to the nonsuccess.

csharp
protected void ReportFailed(Exception exception)
vbnet
Protected Sub ReportFailed(exception As Exception)

Parameters

NameTypeDescription
exceptionExceptionThe Exception instance which led to the nonsuccess reported or a null reference (Nothing in Visual Basic) if there is no exceptional information available.

ReportFailed(Exception, string, params object[]) ​

protected

Reports the failure of the evaluation using the exception which led to the nonsuccess. The further defined message and arguments offer additional information about the source of the exception or which evaluation task has failed.

csharp
protected void ReportFailed(
    Exception exception,
    string message,
    params object[] arguments)
vbnet
Protected Sub ReportFailed(
    exception As Exception,
    message As String,
    ParamArray arguments As Object())

Parameters

NameTypeDescription
exceptionExceptionThe Exception instance which led to the nonsuccess reported or a null reference (Nothing in Visual Basic) if there is no exceptional information available.
messageStringThe additional description about the failure or a null reference (Nothing in Visual Basic) if there is no more information available. In case there the message is a null reference (Nothing in Visual Basic) a default message is used instead.
argumentsparams Object[]The arguments to format into the message specified. If message is a null reference (Nothing in Visual Basic) the array of object values is ignored.

ReportFailed(string, params object[]) ​

protected

Reports the failure of the evaluation using the message and arguments information to describe the evaluation task which failed.

csharp
protected void ReportFailed(string message, params object[] arguments)
vbnet
Protected Sub ReportFailed(message As String, ParamArray arguments As Object())

Parameters

NameTypeDescription
messageStringThe description about the failure or a null reference (Nothing in Visual Basic) if there is no information available. In case there the message is a null reference (Nothing in Visual Basic) a default message is used instead.
argumentsparams Object[]The arguments to format into the message specified. If message is a null reference (Nothing in Visual Basic) the array of object values is ignored.

Events ​

Failed ​

Occurs when a call to Evaluate failed upon a specific reason. This can be either an exception during the evaluation or the path information does not fulfill one of the circumstances the evaluation assures.

csharp
public event OpcPathProbingFailedEventHandler Failed
vbnet
Public Event Failed As OpcPathProbingFailedEventHandler

Event type

OpcPathProbingFailedEventHandler