Docs
Tenantry CoreAPI reference

TenantNotResolvedException class

Namespace: Tenantry · Package: Tenantry.Core · API reference

Thrown when an operation needs a current tenant and none is current, or when the tenant it names does not exist (TenantNotFoundException).

public class TenantNotResolvedException : InvalidOperationException, ISerializable

Inherits Exception → SystemException → InvalidOperationException.

Implements ISerializable.

Derived types: TenantNotFoundException.

Constructors

TenantNotResolvedException()

Initialises a new instance with a default message.

public TenantNotResolvedException()

TenantNotResolvedException(string)

Initialises a new instance with a custom message.

public TenantNotResolvedException(string message)

Parameters:

  • message string: The message that describes the error.

TenantNotResolvedException(string, Exception)

Initialises a new instance with a custom message and inner exception.

public TenantNotResolvedException(string message, Exception innerException)

Parameters:

  • message string: The message that describes the error.
  • innerException Exception: The exception that caused this one.

On this page