System.Xml.XmlWriterSettings.Async Property

Gets or sets a value that indicates whether asynchronous System.Xml.XmlWriter methods can be used on a particular System.Xml.XmlWriter instance.

Syntax

public bool Async { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

You must set this value to true when you create a new System.Xml.XmlWriter instance if you want to use asynchronous System.Xml.XmlWriter methods on that instance. After the System.Xml.XmlWriter instance is created, the XmlWriterSettings.Async property is read-only. The default value of this property is false.

This flag is ignored by the XmlWriter.Create(XmlWriter, XmlWriterSettings) overload. This means that if you create a new System.Xml.XmlWriter based on an existing System.Xml.XmlWriter, the async behavior depends on the input System.Xml.XmlWriter, and you cannot use the XmlWriterSettings.Async flag to change the async behavior.

Requirements

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