# InvokeMethodOptions

Package: [Microsoft.Orleans.Core.Abstractions](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Core.Abstractions) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/CodeGeneration/InvokeMethodOptions.cs#L12)

```csharp
[System.Flags]
[Orleans.GenerateSerializer]
public enum InvokeMethodOptions
```

Invoke options for an `InvokeMethodRequest`

## Remarks

These flag values are used in Orleans generated invoker code, and should not be altered.

## Fields

- `None` = `0` - No options defined.
- `OneWay` = `1` - Invocation is one-way with no feedback on whether the call succeeds or fails.
- `ReadOnly` = `2` - Invocation is read-only and can interleave with other read-only invocations.
- `AlwaysInterleave` = `4` - The invocation can interleave with any other request type, including write requests.
- `Unordered` = `8` - Invocation does not care about ordering and can consequently be optimized.
