Class BrowsingClientException
Client Exception.
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
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.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Gee.External.Browsing.Clients
Assembly: Gee.External.Browsing.dll
Syntax
public sealed class BrowsingClientException : BrowsingException, ISerializable
Constructors
BrowsingClientException(String, HttpStatusCode)
Create a Client Exception.
Declaration
public BrowsingClientException(string detailMessage, HttpStatusCode httpStatusCode)
Parameters
Type | Name | Description |
---|---|---|
System.String | detailMessage | A detail message describing the reason the exception is being thrown. |
System.Net.HttpStatusCode | httpStatusCode | An HTTP status code indicating the nature of the HTTP response for the failed HTTP request the exception is being thrown for. |
BrowsingClientException(String, HttpStatusCode, Exception)
Create a Client Exception.
Declaration
public BrowsingClientException(string detailMessage, HttpStatusCode httpStatusCode, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | detailMessage | A detail message describing the reason the exception is being thrown. |
System.Net.HttpStatusCode | httpStatusCode | An HTTP status code indicating the nature of the HTTP response for the failed HTTP request the exception is being thrown for. |
System.Exception | innerException | An exception that is the cause of the exception being thrown. |
Properties
HttpStatusCode
Get HTTP Status Code.
Declaration
public HttpStatusCode HttpStatusCode { get; }
Property Value
Type |
---|
System.Net.HttpStatusCode |
Remarks
Represents the HTTP status code indicating the nature of the HTTP response for the failed HTTP request the exception was thrown for.
Implements
System.Runtime.Serialization.ISerializable