OperationError Event
Reports a protocol error.
Syntax
public event OnOperationErrorHandler OnOperationError; public delegate void OnOperationErrorHandler(object sender, WebdavclientOperationErrorEventArgs e); public class WebdavclientOperationErrorEventArgs : EventArgs { public string URL { get; } public string Status { get; } public string Error { get; } public string Description { get; } }
Public Event OnOperationError As OnOperationErrorHandler Public Delegate Sub OnOperationErrorHandler(sender As Object, e As WebdavclientOperationErrorEventArgs) Public Class WebdavclientOperationErrorEventArgs Inherits EventArgs Public ReadOnly Property URL As String Public ReadOnly Property Status As String Public ReadOnly Property Error As String Public ReadOnly Property Description As String End Class
Remarks
This event is fired to report a WebDAV protocol error that happened during the data exchange. This is different from Error which reports more general errors out of the scope of WebDAV protocol.
Use ErrorCode to get the error code, and Description for a corresponding textual comment.