FabricActorService.deleteActorAsync(ActorId actorId, CancellationToken cancellationToken) 方法

定义

Deletes an Actor from the Actor service.

An active actor, will be deactivated and its state will also be deleted from state provider. An in-active actor's state will be deleted from state provider. If this method is called for a non-existent actor id in the system, it will be a no-op.

public CompletableFuture<?> deleteActorAsync(ActorId actorId, CancellationToken cancellationToken)

参数

actorId
ActorId

ActorId of the actor to be deleted.

cancellationToken
CancellationToken

CancellationToken object to indicate the cancellation status of the operation.

返回

CompletableFuture<?>

A task that represents the asynchronous operation of call to server.

替代

适用于