Class UnsupportedClientException
- Namespace
- Xabbo
- Assembly
- Xabbo.Common.dll
Thrown when an operation is not supported for the current client.
public sealed class UnsupportedClientException : Exception, ISerializable
- Inheritance
-
UnsupportedClientException
- Implements
- Inherited Members
Constructors
UnsupportedClientException(ClientType)
Thrown when an operation is not supported for the current client.
public UnsupportedClientException(ClientType client)
Parameters
client
ClientType
Properties
Client
The client that is not supported.
public ClientType Client { get; }
Property Value
Methods
ThrowIf(ClientType, ClientType)
Throws if the client is any of the specified clients.
public static void ThrowIf(ClientType client, ClientType clients)
Parameters
client
ClientTypeclients
ClientType
ThrowIfModern(ClientType)
Throws if the client is the Unity or Flash client.
public static void ThrowIfModern(ClientType client)
Parameters
client
ClientType
ThrowIfNone(ClientType)
Throws if the specified client is not a known client.
public static void ThrowIfNone(ClientType client)
Parameters
client
ClientType
ThrowIfNoneOr(ClientType, ClientType)
Throws if the client is unknown or any of the specified clients.
public static void ThrowIfNoneOr(ClientType client, ClientType clients)
Parameters
client
ClientTypeclients
ClientType
ThrowIfOrigins(ClientType)
Throws if the client is the Shockwave client.
public static void ThrowIfOrigins(ClientType client)
Parameters
client
ClientType