Freigeben über


HttpError.IXmlSerializable.WriteXml Method

Converts an HttpError instance into its XML representation.

Namespace:  System.Web.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Private Sub WriteXml ( _
    writer As XmlWriter _
) Implements IXmlSerializable.WriteXml
'Usage
Dim instance As HttpError 
Dim writer As XmlWriter 

CType(instance, IXmlSerializable).WriteXml(writer)
void IXmlSerializable.WriteXml(
    XmlWriter writer
)
private:
virtual void WriteXml(
    XmlWriter^ writer
) sealed = IXmlSerializable::WriteXml
private abstract WriteXml : 
        writer:XmlWriter -> unit  
private override WriteXml : 
        writer:XmlWriter -> unit
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

Implements

IXmlSerializable.WriteXml(XmlWriter)

See Also

Reference

HttpError Class

System.Web.Http Namespace