# MayInterleaveAttribute Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.concurrency.mayinterleaveattribute/)

## MayInterleaveAttribute(string) {#constructor-string-3bb6054f}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.concurrency.mayinterleaveattribute/constructors/constructor-string-3bb6054f/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/Concurrency/GrainAttributeConcurrency.cs#L127-L130)

```csharp
public MayInterleaveAttribute(string callbackMethodName)
```

Initializes a new instance of the [MayInterleaveAttribute](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.concurrency.mayinterleaveattribute/) class.

### Parameters

- `callbackMethodName` (`string`): The callback method name. This should resolve to a method with the following signature: `public static bool NameOfMethod(IInvokable req)`
