XComment.WriteToAsync(XmlWriter, CancellationToken) 메서드

정의

XComment를 지정된 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

XComment를 작성할 작성기입니다.

cancellationToken
CancellationToken

비동기 작업(asynchronous operation)의 취소를 요청하는 데 사용할 수 있는 토큰입니다.

반환

Task

비동기 쓰기 작업을 나타내는 작업입니다.

적용 대상