Show / Hide Table of Contents

Class ApiNotSupportedException

This exception is thrown on attempts to use functions not supported in current API version.

Inheritance
System.Object
System.Exception
System.SystemException
System.NotSupportedException
ApiNotSupportedException
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 ApiNotSupportedException : NotSupportedException, ISerializable

Constructors

| Improve this Doc View Source

ApiNotSupportedException(ApiLevel)

Initializes a new instance of ApiNotSupportedException.

Declaration
public ApiNotSupportedException(ApiLevel requiredApiLevel)
Parameters
Type Name Description
ApiLevel requiredApiLevel

The minimal required API level.

| Improve this Doc View Source

ApiNotSupportedException(ApiLevel, Version)

Initializes a new instance of ApiNotSupportedException.

Declaration
public ApiNotSupportedException(ApiLevel requiredApiLevel, Version requiredApiVersion)
Parameters
Type Name Description
ApiLevel requiredApiLevel

The minimal required API level.

System.Version requiredApiVersion

The minimal required API version.

| Improve this Doc View Source

ApiNotSupportedException(ApiLevel, Version, Version)

Initializes a new instance of ApiNotSupportedException.

Declaration
public ApiNotSupportedException(ApiLevel requiredApiLevel, Version requiredApiVersion, Version maxApiVersion)
Parameters
Type Name Description
ApiLevel requiredApiLevel

The minimal required API level.

System.Version requiredApiVersion

The minimal required API version.

System.Version maxApiVersion

The maximal supported API version.

| Improve this Doc View Source

ApiNotSupportedException(String, ApiLevel)

Initializes a new instance of ApiNotSupportedException.

Declaration
public ApiNotSupportedException(string message, ApiLevel requiredApiLevel)
Parameters
Type Name Description
System.String message

The exception message.

ApiLevel requiredApiLevel

The minimal required API level.

| Improve this Doc View Source

ApiNotSupportedException(String, ApiLevel, Version)

Initializes a new instance of ApiNotSupportedException.

Declaration
public ApiNotSupportedException(string message, ApiLevel requiredApiLevel, Version requiredApiVersion)
Parameters
Type Name Description
System.String message

The exception message.

ApiLevel requiredApiLevel

The minimal required API level.

System.Version requiredApiVersion

The minimal required API version.

| Improve this Doc View Source

ApiNotSupportedException(String, ApiLevel, Version, Version)

Initializes a new instance of ApiNotSupportedException.

Declaration
public ApiNotSupportedException(string message, ApiLevel requiredApiLevel, Version requiredApiVersion, Version maxApiVersion)
Parameters
Type Name Description
System.String message

The exception message.

ApiLevel requiredApiLevel

The minimal required API level.

System.Version requiredApiVersion

The minimal required API version.

System.Version maxApiVersion

The maximum required API version.

Properties

| Improve this Doc View Source

MaxApiVersion

The maximal supported API version.

Declaration
public Version MaxApiVersion { get; }
Property Value
Type Description
System.Version
| Improve this Doc View Source

RequiredApiLevel

The minimal required API level.

Declaration
public ApiLevel RequiredApiLevel { get; }
Property Value
Type Description
ApiLevel
| Improve this Doc View Source

RequiredApiVersion

The minimal required API version.

Declaration
public Version RequiredApiVersion { get; }
Property Value
Type Description
System.Version

Implements

System.Runtime.Serialization.ISerializable

See Also

ApiLevel
ApiLevelAttribute
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018 Pavel Fedarovich