C# Class Microsoft.Protocols.TestSuites.MS_COPYS.SoapFaultDetailSchemaHelper

This class is used to process the schema validation for the SOAP fault of detail element.
Afficher le fichier Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Méthodes publiques

Méthode Description
ValidateSoapFaultDetail ( System.Web.Services.Protocols.SoapException soapEx, ITestSite testSiteInstance ) : void

A method used to validate the schema definition for the detail element of a SOAP fault. If the schema validation is not successful, this method will raise an XmlSchemaValidationException.

Private Methods

Méthode Description
LoadSoapFaultDetailXml ( System.Web.Services.Protocols.SoapException soapEx ) : string

A method used to load the XML string for the detail element in the SOAP exception.

RecordSoapExceptionInfor ( System.Web.Services.Protocols.SoapException soapEx, ITestSite testSiteInstance ) : void

A method used to record a SOAP Exception information into the log.

Method Details

ValidateSoapFaultDetail() public static méthode

A method used to validate the schema definition for the detail element of a SOAP fault. If the schema validation is not successful, this method will raise an XmlSchemaValidationException.
public static ValidateSoapFaultDetail ( System.Web.Services.Protocols.SoapException soapEx, ITestSite testSiteInstance ) : void
soapEx System.Web.Services.Protocols.SoapException A parameter represents the SoapException instance which will be recorded.
testSiteInstance ITestSite A parameter represents the ITestSite instance which contains test context.
Résultat void