# DefaultInvokeMethodNameAttribute Properties

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

## MethodName {#methodname-953e369e}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.serialization.abstractions/orleans.defaultinvokemethodnameattribute/properties/methodname-953e369e/)

[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.

## ReturnType {#returntype-c914caff}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.serialization.abstractions/orleans.defaultinvokemethodnameattribute/properties/returntype-c914caff/)

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

```csharp
public Type ReturnType
```

Gets the interface method return type which this attribute applies to.
