System.Xml.XmlWriter.WriteStartAttributeAsync Method

Asynchronously writes the start of an attribute with the specified prefix, local name, and namespace URI.

Syntax

protected virtual System.Threading.Tasks.Task WriteStartAttributeAsync (string prefix, string localName, string ns)

Parameters

prefix
The namespace prefix of the attribute.
localName
The local name of the attribute.
ns
The namespace URI for the attribute.

Returns

The task that represents the asynchronous WriteStartAttribute operation.

Remarks

This is the asynchronous version of XmlWriter.WriteStartAttribute(string, string, string), with the same functionality. To use this method, you must set the XmlWriterSettings.Async flag to true.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 4.0.0.0