# InvokeMethodNameAttribute

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

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

```csharp
public sealed class InvokeMethodNameAttribute : Attribute
```

Applied to method attributes on invokable interfaces to specify the name of the method on the base type to call when submitting a request.

## Constructors

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

## Properties

- [InvokeMethodName](/orleans/docs/api/csharp/microsoft.orleans.serialization.abstractions/orleans.invokemethodnameattribute/properties/invokemethodname-656372b5/)
