XNode.WriteToAsync(XmlWriter, CancellationToken) 메서드

정의

현재 노드를 XmlWriter에 씁니다.Writes the current node to an XmlWriter.

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

매개 변수

writer
XmlWriter

현재 노드를 쓸 작성기입니다.The writer to write the current node into.

cancellationToken
CancellationToken

비동기 작업(asynchronous operation)의 취소를 요청하는 데 사용할 수 있는 토큰입니다.A token that can be used to request cancellation of the asynchronous operation.

반환

Task

비동기 쓰기 작업을 나타내는 태스크입니다.A task representing the asynchronous write operation.

적용 대상