Class HttpException
Represents a HTTP error.
Implements
Inherited Members
Namespace: Solti.Utils.Rpc.Interfaces
Assembly: Solti.Utils.Rpc.Interfaces.dll
Syntax
public class HttpException : Exception, ISerializable
Constructors
HttpException()
Creates a new HttpException instance.
Declaration
public HttpException()
HttpException(String)
Creates a new HttpException instance.
Declaration
public HttpException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| String | message |
HttpException(String, Exception)
Creates a new HttpException instance.
Declaration
public HttpException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| String | message | |
| Exception | innerException |
Properties
Status
The related status code.
Declaration
public HttpStatusCode Status { get; set; }
Property Value
| Type | Description |
|---|---|
| HttpStatusCode |