The item doesn't exist on the server.
For a list of all members of this type, see NotFoundException Members.
System.Object
System.Exception
ITHit.WebDAV.Client.Exceptions.WebDavException
ITHit.WebDAV.Client.Exceptions.WebDavHttpException
ITHit.WebDAV.Client.Exceptions.NotFoundException
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
Thrown when server responded with 404 (Not Found) http response. The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
string license = "<?xml version='1.0' encoding='utf...
WebDavSession session = new WebDavSession(license);
session.Credentials = new NetworkCredential("User1", "pwd");
IFolder folder = null;
try
{
folder = session.OpenFolder(new Uri("http://server:8080/Products"));
}
catch(UnauthorizedException)
{
Console.WriteLine("Incorrect user name or password.");
}
catch(NotFoundException)
{
Console.WriteLine("Folder not found.");
}
if(folder!=null)
{
Console.WriteLine(folder.LastModified.ToString());
}
Namespace: ITHit.WebDAV.Client.Exceptions
Assembly: ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll)
NotFoundException Members | ITHit.WebDAV.Client.Exceptions Namespace