Class CurrentTenantIdIsNotSet
- Namespace
- Cratis.Applications.Tenancy
- Assembly
- Cratis.Applications.dll
The exception that is thrown when the current tenant ID is not set.
public class CurrentTenantIdIsNotSet : Exception, ISerializable
- Inheritance
-
CurrentTenantIdIsNotSet
- Implements
- Inherited Members
Constructors
CurrentTenantIdIsNotSet()
The exception that is thrown when the current tenant ID is not set.
public CurrentTenantIdIsNotSet()
Methods
ThrowIfNotSet(TenantId?)
Check if the value is set, if not throw an exception.
public static void ThrowIfNotSet(TenantId? value)
Parameters
value
TenantIdValue to check.
Exceptions
- CurrentTenantIdIsNotSet
Thrown if the value is not set.