# AllocatorManager.TryFunction

> Used for calling an allocator function.

## Definition

* **Type:** Delegate
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ManagedKernelModule

```csharp
public delegate int AllocatorManager.TryFunction(nint allocatorState, ref AllocatorManager.Block block)
```
