# DefaultInvokeMethodNameAttribute.MethodName

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.serialization.abstractions/orleans.defaultinvokemethodnameattribute/) | [Properties](/orleans/docs/api/csharp/microsoft.orleans.serialization.abstractions/orleans.defaultinvokemethodnameattribute/properties/)

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

```csharp
public string MethodName
```

Gets the name of the method on the proxy base type to call when methods are invoked.
