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
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
The PropertyXPathFilteringEntry type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | PropertyXPathFilteringEntry |
Creates an instance of this class with the name of the property and the XPath used for the analysis.
|
Properties
Name | Description | |
---|---|---|
![]() | Name |
The name of the property which value is validated.
|
![]() | XPath |
The xpath that is used to verify the property value.
|
Methods
Name | Description | |
---|---|---|
![]() | Accepts |
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.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetErrorTextPart |
Gets the error text part depending on the specified exception and instruction.
The following instructions are supported:
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also