# LibTmux.TmuxUnsupportedOnReleaseException.TmuxUnsupportedOnReleaseException

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

```
TmuxUnsupportedOnReleaseException(
    string message,
    TmuxVersion actualVersion,
    string safeReleases,
    string? capabilityId = null,
    string? command = null,
    Exception? innerException = null
)
```

Initializes a release refusal.

## Parameters

- `message` (`string`): What was refused and why.
- `actualVersion` (`TmuxVersion`): The running tmux release.
- `safeReleases` (`string`): The releases where the command is safe, in words.
- `capabilityId` (`string?`): The id in <c>capabilities.json</c> that covers the refusal, if any.
- `command` (`string?`): The refused tmux command, if any.
- `innerException` (`Exception?`): The underlying failure, when any.
