PropertyXPathFilteringEntryAccepts Method

Scanjour Workflow4 Reference Manual
Looks for a specific property on the exception. If the property exists the two things can happen: 1. If the property contains a string with well-formed XML, then all namespaces and namespace references are removed from the XML and the specified XPath is applied.If the XML is not well-formed or any other exception occurs when applying the XPath then false is returned. 2. If the property contains a WebResponse, then the GetresponseStream() method is called on the WebResponse and the content of the stream is read as a string and interpreted as the xml.

Namespace:  Scanjour.Workflow4.ActivityLibrary.ErrorManagement
Assembly:  Scanjour.Workflow4.ActivityLibrary_19.0.1.0 (in Scanjour.Workflow4.ActivityLibrary_19.0.1.0.dll) Version: (

public bool Accepts(
	Exception ex,
	IParameterProvider parameterProvider


Type: SystemException
The exception that is searched for a specific property.
Type: Scanjour.Workflow4.ActivityLibrary.ErrorManagementIParameterProvider
Implementation of IParameterProvider, than can be used to retrieve a stored valid xml

Return Value

Type: Boolean
True, if the XPath returns true; otherwise false.


IFilteringEntryAccepts(Exception, IParameterProvider)
See Also