Edytuj

Udostępnij za pośrednictwem


SystemTarget.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
override this.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.

Implements

Applies to

Deactivate(DeactivationReason, CancellationToken)

Start deactivating this instance.

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

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.

Implements

Applies to