Is thrown whenever and erroneous http response is received.
For a list of all members of this type, see WebDavHttpException Members.
System.Object
System.Exception
ITHit.WebDAV.Client.Exceptions.WebDavException
ITHit.WebDAV.Client.Exceptions.WebDavHttpException
Derived types
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
string license = "<?xml version='1.0' encoding='utf...
WebDavSession session = new WebDavSession(license);
session.Credentials = new NetworkCredential("User1", "pwd");
IFolder folder = session.OpenFolder(new Uri("http://server/Library"));
try
{
folder.Delete();
}
catch(WebDavHttpException ex)
{ // Find which items failed to delete.
Console.WriteLine(ex.Status.Code + " " + ex.Status.Description + " " + ex.Message);
foreach(IMultistatusResponse resp in ex.Multistatus.Responses)
{
Console.WriteLine(resp.Href + " " + resp.Status.Code + " " + resp.Status.Description);
}
}
Namespace: ITHit.WebDAV.Client.Exceptions
Assembly: ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll)
WebDavHttpException Members | ITHit.WebDAV.Client.Exceptions Namespace