Show / Hide Table of Contents

Class QBittorrentClientRequestException

This exception is thrown if QBittorrent server answers with non-success status code.

Inheritance
System.Object
System.Exception
System.Net.Http.HttpRequestException
QBittorrentClientRequestException
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: QBittorrent.Client
Assembly: QBittorrent.Client.dll
Syntax
[Serializable]
public class QBittorrentClientRequestException : HttpRequestException, ISerializable

Constructors

| Improve this Doc View Source

QBittorrentClientRequestException(String, HttpStatusCode)

Creates a new instance of QBittorrentClientRequestException.

Declaration
public QBittorrentClientRequestException(string message, HttpStatusCode statusCode)
Parameters
Type Name Description
System.String message

The exception message.

System.Net.HttpStatusCode statusCode

HTTPS status code.

Properties

| Improve this Doc View Source

StatusCode

Gets the HTTP status code.

Declaration
public HttpStatusCode StatusCode { get; }
Property Value
Type Description
System.Net.HttpStatusCode

Implements

System.Runtime.Serialization.ISerializable
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018 Pavel Fedarovich