PropertyXPathFilteringEntry Class

Scanjour Workflow4 Reference Manual
An instance of this class is used for analyzing XML contained in a property in an exception. This is done by applying an XPath to the XML.
Inheritance Hierarchy

SystemObject
  Scanjour.Workflow4.ActivityLibrary.ErrorManagementPropertyXPathFilteringEntry

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 class PropertyXPathFilteringEntry : IFilteringEntry

The PropertyXPathFilteringEntry type exposes the following members.

Constructors

  NameDescription
Public methodPropertyXPathFilteringEntry
Creates an instance of this class with the name of the property and the XPath used for the analysis.
Top
Properties

  NameDescription
Public propertyName
The name of the property which value is validated.
Public propertyXPath
The xpath that is used to verify the property value.
Top
Methods

  NameDescription
Public methodAccepts
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.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetErrorTextPart
Gets the error text part depending on the specified exception and instruction. The following instructions are supported:
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference