System.Xml.XmlWriter.WriteSurrogateCharEntityAsync Method

Asynchronously generates and writes the surrogate character entity for the surrogate character pair.

Syntax

public virtual System.Threading.Tasks.Task WriteSurrogateCharEntityAsync (char lowChar, char highChar)

Parameters

lowChar
The low surrogate. This must be a value between 0xDC00 and 0xDFFF.
highChar
The high surrogate. This must be a value between 0xD800 and 0xDBFF.

Returns

The task that represents the asynchronous WriteSurrogateCharEntity operation.

Remarks

This is the asynchronous version of XmlWriter.WriteSurrogateCharEntity(char, char), 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