IGrainBase.OnActivateAsync(CancellationToken) 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.
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.