#### [Abblix\.Oidc\.Server](https://www.abblix.com/docs/api/abblix-oidc-server 'index')
### [Abblix\.Oidc\.Server\.Features\.MultiTenancy](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy 'Abblix\.Oidc\.Server\.Features\.MultiTenancy')

## TenantChangeRefusal Class

A change of the tenants [ITenantManager](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.ITenantManager 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.ITenantManager') refused, and why\.

```csharp
public sealed record TenantChangeRefusal : System.IEquatable<Abblix.Oidc.Server.Features.MultiTenancy.TenantChangeRefusal>
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → TenantChangeRefusal

Implements [System\.IEquatable&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.iequatable-1 'System\.IEquatable\`1')[TenantChangeRefusal](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.TenantChangeRefusal 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.TenantChangeRefusal')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.iequatable-1 'System\.IEquatable\`1')
### Constructors

## TenantChangeRefusal\(TenantChangeRefusalReason, string\) Constructor {#Abblix.Oidc.Server.Features.MultiTenancy.TenantChangeRefusal.TenantChangeRefusal(Abblix.Oidc.Server.Features.MultiTenancy.TenantChangeRefusalReason,string)}

A change of the tenants [ITenantManager](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.ITenantManager 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.ITenantManager') refused, and why\.

```csharp
public TenantChangeRefusal(Abblix.Oidc.Server.Features.MultiTenancy.TenantChangeRefusalReason Reason, string Message);
```
#### Parameters

###### `Reason` [TenantChangeRefusalReason](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.TenantChangeRefusalReason 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.TenantChangeRefusalReason') {#Abblix.Oidc.Server.Features.MultiTenancy.TenantChangeRefusal.TenantChangeRefusal(Abblix.Oidc.Server.Features.MultiTenancy.TenantChangeRefusalReason,string).Reason}

What kind of refusal it is, for the host to act on\.

###### `Message` [System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String') {#Abblix.Oidc.Server.Features.MultiTenancy.TenantChangeRefusal.TenantChangeRefusal(Abblix.Oidc.Server.Features.MultiTenancy.TenantChangeRefusalReason,string).Message}

What is wrong, for a person to read\.
### Properties

## TenantChangeRefusal\.Message Property {#Abblix.Oidc.Server.Features.MultiTenancy.TenantChangeRefusal.Message}

What is wrong, for a person to read\.

```csharp
public string Message { get; init; }
```

#### Property Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')

## TenantChangeRefusal\.Reason Property {#Abblix.Oidc.Server.Features.MultiTenancy.TenantChangeRefusal.Reason}

What kind of refusal it is, for the host to act on\.

```csharp
public Abblix.Oidc.Server.Features.MultiTenancy.TenantChangeRefusalReason Reason { get; init; }
```

#### Property Value
[TenantChangeRefusalReason](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.TenantChangeRefusalReason 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.TenantChangeRefusalReason')
