Atom.NET documentation

AtomFeed.Load Method (HttpWebRequest)

Loads the AtomFeed from the specified HttpWebRequest.

[Visual Basic]
Overloads Public Shared Function Load( _
   ByVal request As HttpWebRequest _
) As AtomFeed
[C#]
public static AtomFeed Load(
   HttpWebRequest request
);

Parameters

request
The HttpWebRequest from which read the Atom xml data.

Return Value

An AtomFeed instance.

Exceptions

Exception TypeCondition
XmlExceptionInvalid xml syntax in Atom resource or uri is null.
ArgumentExceptionThe resource cannot be find.
InvalidOperationExceptionAtomReader has been closed, and can not be read.
FileNotFoundExceptionAtom xml resource not found.

See Also

AtomFeed Class | Atom.Core Namespace | AtomFeed.Load Overload List