Redigera

Dela via


IGrainBase.OnActivateAsync(CancellationToken) Method

Definition

Method overridden by grain implementations to handle activation.

public virtual System.Threading.Tasks.Task OnActivateAsync (System.Threading.CancellationToken token);
abstract member OnActivateAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.OnActivateAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function OnActivateAsync (token As CancellationToken) As Task

Parameters

token
CancellationToken

The cancellation token used to signify that activation should abort promptly.

Returns

A Task which represents the operation.

Applies to