IActorStateManager.RemoveStateAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes an actor state with specified state name.
public System.Threading.Tasks.Task RemoveStateAsync (string stateName, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveStateAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RemoveStateAsync (stateName As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- stateName
- String
Name of the actor state to remove.
- cancellationToken
- CancellationToken
The token to monitor for cancellation requests.
Returns
A task that represents the asynchronous remove operation.
Exceptions
An actor state with given state name does not exist.
The specified state name is null.
The operation was canceled.
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for .NET