Class ApiNotSupportedException
This exception is thrown on attempts to use functions not supported in current API version.
Inheritance
Implements
Inherited Members
Namespace: QBittorrent.Client
Assembly: QBittorrent.Client.dll
Syntax
[Serializable]
public class ApiNotSupportedException : NotSupportedException, ISerializable
Constructors
| Improve this Doc View SourceApiNotSupportedException(ApiLevel)
Initializes a new instance of ApiNotSupportedException.
Declaration
public ApiNotSupportedException(ApiLevel requiredApiLevel)
Parameters
Type | Name | Description |
---|---|---|
ApiLevel | requiredApiLevel | The minimal required API level. |
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. |
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. |
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. |
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. |
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 SourceMaxApiVersion
The maximal supported API version.
Declaration
public Version MaxApiVersion { get; }
Property Value
Type | Description |
---|---|
System.Version |
RequiredApiLevel
The minimal required API level.
Declaration
public ApiLevel RequiredApiLevel { get; }
Property Value
Type | Description |
---|---|
ApiLevel |
RequiredApiVersion
The minimal required API version.
Declaration
public Version RequiredApiVersion { get; }
Property Value
Type | Description |
---|---|
System.Version |