# GetCompletionSourceMethodNameAttribute Constructors

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

## GetCompletionSourceMethodNameAttribute(string) {#constructor-string-b48ba4b4}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.serialization.abstractions/orleans.getcompletionsourcemethodnameattribute/constructors/constructor-string-b48ba4b4/)

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

```csharp
public GetCompletionSourceMethodNameAttribute(string methodName)
```

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

### Parameters

- `methodName` (`string`): The name of the method used to get a completion source for requests submitted to the runtime.
