Redirect302Exception Constructor
IT Hit WebDAV Classes Reference
Initializes a new instance of the
Redirect302Exception class with location header,
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 Redirect302Exception(
string location,
string message,
Uri href,
IMultistatus multistatus,
string httpMethod,
Exception innerException
)
Public Sub New (
location As String,
message As String,
href As Uri,
multistatus As IMultistatus,
httpMethod As String,
innerException As Exception
)
public:
Redirect302Exception(
String^ location,
String^ message,
Uri^ href,
IMultistatus^ multistatus,
String^ httpMethod,
Exception^ innerException
)
new :
location : string *
message : string *
href : Uri *
multistatus : IMultistatus *
httpMethod : string *
innerException : Exception -> Redirect302Exception
Parameters
- location
- Type: SystemString
302 redirect Location header. - 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