OnActivateAsync(CancellationToken)
virtual
public virtual Task OnActivateAsync(CancellationToken cancellationToken) This method is called at the end of the process of activating a grain. It is called before any messages have been dispatched to the grain. For grains with declared persistent state, this method is called after the State property has been populated.
Parameters
cancellationTokenCancellationToken- A cancellation token which signals when activation is being canceled.
