System.Xml.XmlWriter.WriteQualifiedNameAsync Method

Asynchronously writes out the namespace-qualified name. This method looks up the prefix that is in scope for the given namespace.

Syntax

public virtual System.Threading.Tasks.Task WriteQualifiedNameAsync (string localName, string ns)

Parameters

localName
The local name to write.
ns
The namespace URI for the name.

Returns

The task that represents the asynchronous WriteQualifiedName operation.

Remarks

This is the asynchronous version of XmlWriter.WriteQualifiedName(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