SoapException.DetailElementName Field


Gets an XmlQualifiedName that represents the Detail element of a SOAP Fault code.

Namespace:   System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

Public Shared ReadOnly DetailElementName As XmlQualifiedName

Field Value

Type: System.Xml.XmlQualifiedName

In building an XmlNode for the Detail property, the Name and Namespace properties of DetailElementName can be used to ensure consistency with the SOAP specification.

The following example sets the Detail property using the DetailElementName field and then throws a SoapException.

.NET Framework
Available since 1.1
Return to top