# EventHubCheckpointerFactory Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.streaming.eventhubs.eventhubcheckpointerfactory/)

## Create(string) {#create-string-d657bfeb}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.streaming.eventhubs.eventhubcheckpointerfactory/methods/create-string-d657bfeb/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/EventHubCheckpointer.cs#L32)

```csharp
public Task<IStreamQueueCheckpointer<string>> Create(string partition)
```

Creates a stream checkpointer for the specified partition.

### Parameters

- `partition` (`string`): The partition.

### Returns

The stream checkpointer.

## CreateFactory(IServiceProvider, string) {#createfactory-system-iserviceprovider-string-53de4688}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.streaming.eventhubs.eventhubcheckpointerfactory/methods/createfactory-system-iserviceprovider-string-53de4688/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/EventHubCheckpointer.cs#L37-L39)

```csharp
public static IStreamQueueCheckpointerFactory CreateFactory(IServiceProvider services, string providerName)
```

### Parameters

- `services` (`IServiceProvider`)
- `providerName` (`string`)
