# ConsulGatewayListProvider.InitializeGatewayListProvider

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.clustering.consul/orleans.runtime.membership.consulgatewaylistprovider/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.clustering.consul/orleans.runtime.membership.consulgatewaylistprovider/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Clustering.Consul/ConsulGatewayListProvider.cs#L47-L48)

```csharp
public Task InitializeGatewayListProvider()
```

Initializes the provider, will be called before all other methods.

### Returns

A `System.Threading.Tasks.Task` representing the work performed.
