Class HttpException
Exception that occurs when sending an HTTP request to the server.
Inheritance
System.Object
System.Exception
HttpException
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Innovator.Client
Assembly: Innovator.Client.dll
Syntax
public class HttpException : Exception
Constructors
| Improve this Doc View SourceHttpException()
Initializes a new instance of the HttpException class.
Declaration
public HttpException()
HttpException(String)
Initializes a new instance of the HttpException class.
Declaration
public HttpException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
HttpException(String, Exception)
Initializes a new instance of the HttpException class.
Declaration
public HttpException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
System.Exception | innerException | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. |
Properties
| Improve this Doc View SourceResponse
Gets the HTTP server response.
Declaration
public IHttpResponse Response { get; }
Property Value
Type | Description |
---|---|
IHttpResponse | The HTTP server response. |