# LibTmux.TmuxUnsupportedOnReleaseException

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/486830df176be8b1881a15c8a3ca65524dcb9fb9/src/LibTmux/Exceptions/TmuxUnsupportedOnReleaseException.cs#L22
- **Page:** https://libtmux.org/en/csharp/latest/reference/libtmux-tmuxunsupportedonreleaseexception/

Reports a command or feature that is unsafe or unavailable on the running tmux release.

Every refusal for a release reason raises this type or a subclass, so one
catch block covers a release that lacks a feature, a release that crashes
on a form, and a release that rejects an input other releases accept.
<see cref="TmuxVersionTooLowException" /> is the subclass for a plain
release floor. A typed call that leaves a flag out on an older release,
such as <c>Server.RefreshClientAsync</c> dropping <c>-l</c>, skips the
flag and raises nothing.

The library decides a refusal before anything is sent, so the exceptions it
raises carry <see cref="TmuxDispatchState.NotDispatched" /> in
<see cref="LibTmuxException.Dispatch" />, and sending the command again on
the same release repeats the refusal. An input that is invalid on every
release is not this type; it is an <see cref="ArgumentException" />.

## Properties

| Name | Type | Description |
| --- | --- | --- |
| [`ActualVersion`](/en/csharp/latest/reference/libtmux-tmuxunsupportedonreleaseexception-actualversion/) | [`TmuxVersion`](/en/csharp/latest/reference/libtmux-tmuxversion/) | Gets the running tmux release. |
| [`CapabilityId`](/en/csharp/latest/reference/libtmux-tmuxunsupportedonreleaseexception-capabilityid/) | [`string`](https://learn.microsoft.com/dotnet/api/system.string)`?` | Gets the capability or workaround id in <c>capabilities.json</c>, or null when none covers the refusal. |
| [`Command`](/en/csharp/latest/reference/libtmux-tmuxunsupportedonreleaseexception-command/) | [`string`](https://learn.microsoft.com/dotnet/api/system.string)`?` | Gets the refused tmux command, or null when the refusal is not about one command. |
| [`SafeReleases`](/en/csharp/latest/reference/libtmux-tmuxunsupportedonreleaseexception-safereleases/) | [`string`](https://learn.microsoft.com/dotnet/api/system.string) | Gets the releases where the command is safe, such as <c>3.4 or newer</c>. |

## Members

### Other members

- [`TmuxUnsupportedOnReleaseException`](/en/csharp/latest/reference/libtmux-tmuxunsupportedonreleaseexception-tmuxunsupportedonreleaseexception/) (method): Initializes a release refusal.
