# InvokeMethodNameAttribute Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.serialization.abstractions/orleans.invokemethodnameattribute/)

## InvokeMethodNameAttribute(string) {#constructor-string-21b7ff9a}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.serialization.abstractions/orleans.invokemethodnameattribute/constructors/constructor-string-21b7ff9a/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Serialization.Abstractions/Annotations.cs#L68-L71)

```csharp
public InvokeMethodNameAttribute(string invokeMethodName)
```

Initializes a new instance of the [InvokeMethodNameAttribute](/orleans/docs/api/csharp/microsoft.orleans.serialization.abstractions/orleans.invokemethodnameattribute/) class.

### Parameters

- `invokeMethodName` (`string`): Name of the invoke method.
