Class WebDavException
The WebDAV exception
Inherited Members
Namespace:FubarDev.WebDavServer
Assembly:FubarDev.WebDavServer.dll
Syntax
public class WebDavException : Exception
Constructors
| Improve this Doc View SourceWebDavException(WebDavStatusCode)
Initializes a new instance of the WebDavException class.
Declaration
public WebDavException(WebDavStatusCode statusCode)
Parameters
| Type | Name | Description |
|---|---|---|
| WebDavStatusCode | statusCode | The WebDAV status code |
WebDavException(WebDavStatusCode, Exception)
Initializes a new instance of the WebDavException class.
Declaration
public WebDavException(WebDavStatusCode statusCode, [NotNull] Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| WebDavStatusCode | statusCode | The WebDAV status code |
| Exception | innerException | The inner exception |
WebDavException(WebDavStatusCode, String)
Initializes a new instance of the WebDavException class.
Declaration
public WebDavException(WebDavStatusCode statusCode, string responseMessage)
Parameters
| Type | Name | Description |
|---|---|---|
| WebDavStatusCode | statusCode | The WebDAV status code |
| String | responseMessage | The reason phrase for the status code |
Properties
| Improve this Doc View SourceStatusCode
Gets the WebDAV status code
Declaration
public WebDavStatusCode StatusCode { get; }
Property Value
| Type | Description |
|---|---|
| WebDavStatusCode |