PropertyXPathFilteringEntryGetErrorTextPart Method

Scanjour Workflow4 Reference Manual
Gets the error text part depending on the specified exception and instruction. The following instructions are supported:

Namespace:  Scanjour.Workflow4.ActivityLibrary.ErrorManagement
Assembly:  Scanjour.Workflow4.ActivityLibrary_19.1.6.0 (in Scanjour.Workflow4.ActivityLibrary_19.1.6.0.dll) Version: 19.1.6.0 (19.1.6.0)
Syntax

public string GetErrorTextPart(
	Exception ex,
	IParameterProvider parameterProvider,
	string instruction,
	params string[] arguments
)

Parameters

ex
Type: SystemException
The exception on which the error text part is based.
parameterProvider
Type: Scanjour.Workflow4.ActivityLibrary.ErrorManagementIParameterProvider
Implementation of IParameterProvider, than can be used to retrieve a stored valid xml
instruction
Type: SystemString
The following instructions are supported: - name: Returns the name of the property that the filtering entry inspects. - xpath: Returns the specified XPath(not the content). - x: Applies the specified XPath(first argument) on the found XML and returns the value of the XPath.
arguments
Type: SystemString
If the instruction is 'x', then the first argument shall be the XPath that will be applied.

Return Value

Type: String
The error text part.

Implements

IFilteringEntryGetErrorTextPart(Exception, IParameterProvider, String, String)
See Also

Reference