# LibTmux.TmuxSessionExistsException

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

Thrown when a session name is already taken.

Distinct from a generic command failure because a caller can act on it:
pick another name, or ask tmux to replace the existing session.

## Members

- `TmuxSessionExistsException` (method): Initializes the exception for one taken session name.
- `SessionName` (property): Gets the session name that is already in use.
