ForbiddenException Constructor
IT Hit WebDAV Classes Reference
Initializes a new instance of the
ForbiddenException class with
a specified error message, a reference to the inner exception that is the cause
of this exception, href of the item and multistatus response caused the error.
Namespace:
ITHit.WebDAV.Client.Exceptions
Assembly:
ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 6.0.4052-Beta
Syntax public ForbiddenException(
string message,
Uri href,
IMultistatus multistatus,
string httpMethod,
Exception innerException
)
Public Sub New (
message As String,
href As Uri,
multistatus As IMultistatus,
httpMethod As String,
innerException As Exception
)
public:
ForbiddenException(
String^ message,
Uri^ href,
IMultistatus^ multistatus,
String^ httpMethod,
Exception^ innerException
)
new :
message : string *
href : Uri *
multistatus : IMultistatus *
httpMethod : string *
innerException : Exception -> ForbiddenException
Parameters
- message
- Type: SystemString
The error message string. - href
- Type: SystemUri
The href of an item caused the current exception. - multistatus
- Type: ITHit.WebDAV.ClientIMultistatus
Multistatus response containing error information. - httpMethod
- Type: SystemString
Http method for which request failed. - innerException
- Type: SystemException
The Exception instance that caused the current exception.
See Also