System.Xml.XmlWriter.WriteCharEntityAsync Method

Asynchronously forces the generation of a character entity for the specified Unicode character value.

Syntax

public virtual System.Threading.Tasks.Task WriteCharEntityAsync (char ch)

Parameters

ch
The Unicode character for which to generate a character entity.

Returns

The task that represents the asynchronous WriteCharEntity operation.

Remarks

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