XNode.ReadFromAsync(XmlReader, CancellationToken) 메서드
정의
public:
static System::Threading::Tasks::Task<System::Xml::Linq::XNode ^> ^ ReadFromAsync(System::Xml::XmlReader ^ reader, System::Threading::CancellationToken cancellationToken);
public static System.Threading.Tasks.Task<System.Xml.Linq.XNode> ReadFromAsync (System.Xml.XmlReader reader, System.Threading.CancellationToken cancellationToken);
static member ReadFromAsync : System.Xml.XmlReader * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Xml.Linq.XNode>
Public Shared Function ReadFromAsync (reader As XmlReader, cancellationToken As CancellationToken) As Task(Of XNode)
매개 변수
- reader
- XmlReader
이 XNode로 읽어올 노드에 배치된 판독기입니다.A reader positioned at the node to read into this XNode.
- cancellationToken
- CancellationToken
비동기 작업(asynchronous operation)의 취소를 요청하는 데 사용할 수 있는 토큰입니다.A token that can be used to request cancellation of the asynchronous operation.
반환
판독기에서 읽은 노드를 포함하는 XNode입니다.An XNode that contains the nodes read from the reader.