# LibTmux.TmuxSessionExistsException.TmuxSessionExistsException

- **Module:** LibTmux.TmuxSessionExistsException
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Exceptions/TmuxSessionExistsException.cs#L14
- **Page:** https://libtmux.org/en/dotnet/latest/reference/libtmux-tmuxsessionexistsexception-tmuxsessionexistsexception/

```
LibTmux.TmuxSessionExistsException.TmuxSessionExistsException(message: string, sessionName: string, innerException: Exception?)
```

Initializes the exception for one taken session name.

## Parameters

- `message` (string): What tmux reported.
- `sessionName` (string): The name already in use.
- `innerException` (Exception?): The underlying failure, when any.
