IGrainContext.Deactivate 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.
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.