# ICustomStorageInterface&lt;TState, TDelta&gt;.ClearStoredState

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.customstorage.icustomstorageinterface-2/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.customstorage.icustomstorageinterface-2/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.EventSourcing/CustomStorage/ICustomStorageInterface.cs#L31)

```csharp
public virtual Task ICustomStorageInterface<TState, ClearStoredState()
```

Clears the stored state in storage.

### Returns

A task that represents the asynchronous clear operation.
