WebDavSessionWebDavError Event
IT Hit WebDAV Classes Reference
Event fired when any error occurs during the request.
Fired before the library throws the exception.
Namespace:
ITHit.WebDAV.Client
Assembly:
ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 6.0.4052-Beta
Syntax public event WebDavErrorEventHandler WebDavError
Public Event WebDavError As WebDavErrorEventHandler
public:
event WebDavErrorEventHandler^ WebDavError {
void add (WebDavErrorEventHandler^ value);
void remove (WebDavErrorEventHandler^ value);
}
member WebDavError : IEvent<WebDavErrorEventHandler,
EventArgs>
Value
Type:
ITHit.WebDAV.ClientWebDavErrorEventHandlerRemarks
Inside this event you can capture the 302 login redirect and show a
web browser dialog to log-in and read cookies. Than you can repeat the request by setting
Result property to
Repeat
inside your handler for the request to be repeated.
See Also