XDocument.WriteToAsync(XmlWriter, CancellationToken) メソッド

定義

この XDocument の基になる XML ツリーを指定した XmlWriter に書き込みます。Writes this XDocument's underlying XML tree to the specified XmlWriter.

public:
 override System::Threading::Tasks::Task ^ WriteToAsync(System::Xml::XmlWriter ^ writer, System::Threading::CancellationToken cancellationToken);
public override System.Threading.Tasks.Task WriteToAsync (System.Xml.XmlWriter writer, System.Threading.CancellationToken cancellationToken);
override this.WriteToAsync : System.Xml.XmlWriter * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function WriteToAsync (writer As XmlWriter, cancellationToken As CancellationToken) As Task

パラメーター

writer
XmlWriter

この XDocument の内容を出力するライター。The writer to output the content of this XDocument.

cancellationToken
CancellationToken

キャンセル トークン。A cancellation token.

戻り値

Task

非同期書き込み操作を表すタスク。A task representing the asynchronous write operation.

適用対象