Düzenle

Aracılığıyla paylaş


IGrainContext.Deactivate Method

Definition

Overloads

Deactivate(DeactivationReason, Nullable<CancellationToken>)

Start deactivating this instance.

Deactivate(DeactivationReason, CancellationToken)

Start deactivating this instance.

Deactivate(DeactivationReason, Nullable<CancellationToken>)

Start deactivating this instance.

public void Deactivate (Orleans.DeactivationReason deactivationReason, System.Threading.CancellationToken? cancellationToken = default);
abstract member Deactivate : Orleans.DeactivationReason * Nullable<System.Threading.CancellationToken> -> unit
Public Sub Deactivate (deactivationReason As DeactivationReason, Optional cancellationToken As Nullable(Of CancellationToken) = Nothing)

Parameters

deactivationReason
DeactivationReason

The reason for deactivation, for informational purposes.

cancellationToken
Nullable<CancellationToken>

A cancellation token which, when canceled, indicates that the process should complete promptly.

Applies to

Deactivate(DeactivationReason, CancellationToken)

Start deactivating this instance.

public void Deactivate (Orleans.DeactivationReason deactivationReason, System.Threading.CancellationToken cancellationToken = default);
abstract member Deactivate : Orleans.DeactivationReason * System.Threading.CancellationToken -> unit
Public Sub Deactivate (deactivationReason As DeactivationReason, Optional cancellationToken As CancellationToken = Nothing)

Parameters

deactivationReason
DeactivationReason

The reason for deactivation, for informational purposes.

cancellationToken
CancellationToken

A cancellation token which, when canceled, indicates that the process should complete promptly.

Applies to