# ImmovableAttribute Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.placement.immovableattribute/)

## ImmovableAttribute(ImmovableKind) {#constructor-orleans-placement-immovablekind-4ad7d3fe}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.placement.immovableattribute/constructors/constructor-orleans-placement-immovablekind-4ad7d3fe/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/Placement/PlacementAttribute.cs#L121-L127)

```csharp
public ImmovableAttribute(ImmovableKind kind = ImmovableKind.Any)
```

Ensures that activations of this grain type will not be migrated automatically.

### Parameters

- `kind` (`ImmovableKind`)
