DetailElementName Field
Collapse the table of content
Expand the table of content

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 static readonly XmlQualifiedName DetailElementName

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
© 2016 Microsoft