# ArcBufferPage.Pin(int)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.buffers.arcbufferpage/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.buffers.arcbufferpage/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Serialization/Buffers/ArcBufferWriter.cs#L999-L1005)

```csharp
public void Pin(int token)
```

Pins this page to prevent it from being returned to the page pool.

### Parameters

- `token` (`int`): The token, which must match the page's [ArcBufferPage](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.buffers.arcbufferpage/) for this operation to be allowed.
