# DynamoDBStreamQueueCheckpointerFactory Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.kinesis/orleans.streaming.kinesis.dynamodbstreamqueuecheckpointerfactory/)

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

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.kinesis/orleans.streaming.kinesis.dynamodbstreamqueuecheckpointerfactory/methods/create-string-dbce6e1d/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/AWS/Orleans.Streaming.Kinesis/Streams/DynamoDBStreamQueueCheckpointerFactory.cs)

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

## Create(string, CancellationToken) {#create-string-system-threading-cancellationtoken-3e7c9375}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.kinesis/orleans.streaming.kinesis.dynamodbstreamqueuecheckpointerfactory/methods/create-string-system-threading-cancellationtoken-3e7c9375/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/AWS/Orleans.Streaming.Kinesis/Streams/DynamoDBStreamQueueCheckpointerFactory.cs)

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

Creates a stream checkpointer for the specified partition.

### Parameters

- `partition` (`string`): The partition.
- `cancellationToken` (`CancellationToken`): The cancellation token.

### Returns

The stream checkpointer.

## CreateFactory(IServiceProvider, string) {#createfactory-system-iserviceprovider-string-9c9ae0aa}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.kinesis/orleans.streaming.kinesis.dynamodbstreamqueuecheckpointerfactory/methods/createfactory-system-iserviceprovider-string-9c9ae0aa/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/AWS/Orleans.Streaming.Kinesis/Streams/DynamoDBStreamQueueCheckpointerFactory.cs#L70-L76)

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

Creates a factory from a service provider.

### Parameters

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

## Dispose {#dispose-2fb4b302}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.kinesis/orleans.streaming.kinesis.dynamodbstreamqueuecheckpointerfactory/methods/dispose-2fb4b302/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/AWS/Orleans.Streaming.Kinesis/Streams/DynamoDBStreamQueueCheckpointerFactory.cs#L105-L111)

```csharp
public void Dispose()
```

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
