XDocument.LoadAsync XDocument.LoadAsync XDocument.LoadAsync Method

Definition

Overloads

LoadAsync(TextReader, LoadOptions, CancellationToken) LoadAsync(TextReader, LoadOptions, CancellationToken) LoadAsync(TextReader, LoadOptions, CancellationToken)
LoadAsync(XmlReader, LoadOptions, CancellationToken) LoadAsync(XmlReader, LoadOptions, CancellationToken) LoadAsync(XmlReader, LoadOptions, CancellationToken)
LoadAsync(Stream, LoadOptions, CancellationToken) LoadAsync(Stream, LoadOptions, CancellationToken) LoadAsync(Stream, LoadOptions, CancellationToken)

LoadAsync(TextReader, LoadOptions, CancellationToken) LoadAsync(TextReader, LoadOptions, CancellationToken) LoadAsync(TextReader, LoadOptions, CancellationToken)

public:
 static System::Threading::Tasks::Task<System::Xml::Linq::XDocument ^> ^ LoadAsync(System::IO::TextReader ^ textReader, System::Xml::Linq::LoadOptions options, System::Threading::CancellationToken cancellationToken);
public static System.Threading.Tasks.Task<System.Xml.Linq.XDocument> LoadAsync (System.IO.TextReader textReader, System.Xml.Linq.LoadOptions options, System.Threading.CancellationToken cancellationToken);
static member LoadAsync : System.IO.TextReader * System.Xml.Linq.LoadOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Xml.Linq.XDocument>

Parameters

Returns

LoadAsync(XmlReader, LoadOptions, CancellationToken) LoadAsync(XmlReader, LoadOptions, CancellationToken) LoadAsync(XmlReader, LoadOptions, CancellationToken)

public:
 static System::Threading::Tasks::Task<System::Xml::Linq::XDocument ^> ^ LoadAsync(System::Xml::XmlReader ^ reader, System::Xml::Linq::LoadOptions options, System::Threading::CancellationToken cancellationToken);
public static System.Threading.Tasks.Task<System.Xml.Linq.XDocument> LoadAsync (System.Xml.XmlReader reader, System.Xml.Linq.LoadOptions options, System.Threading.CancellationToken cancellationToken);
static member LoadAsync : System.Xml.XmlReader * System.Xml.Linq.LoadOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Xml.Linq.XDocument>

Parameters

Returns

LoadAsync(Stream, LoadOptions, CancellationToken) LoadAsync(Stream, LoadOptions, CancellationToken) LoadAsync(Stream, LoadOptions, CancellationToken)

public:
 static System::Threading::Tasks::Task<System::Xml::Linq::XDocument ^> ^ LoadAsync(System::IO::Stream ^ stream, System::Xml::Linq::LoadOptions options, System::Threading::CancellationToken cancellationToken);
public static System.Threading.Tasks.Task<System.Xml.Linq.XDocument> LoadAsync (System.IO.Stream stream, System.Xml.Linq.LoadOptions options, System.Threading.CancellationToken cancellationToken);
static member LoadAsync : System.IO.Stream * System.Xml.Linq.LoadOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Xml.Linq.XDocument>

Parameters

Returns

Applies to