JournaledGrain<TGrainState,TEventBase>.OnActivateAsync Method

Definition

Overloads

OnActivateAsync()

By default, upon activation, the journaled grain waits until it has loaded the latest view from storage. Subclasses can override this behavior, and skip the wait if desired.

OnActivateAsync(CancellationToken)

By default, upon activation, the journaled grain waits until it has loaded the latest view from storage. Subclasses can override this behavior, and skip the wait if desired.

OnActivateAsync()

Source:
JournaledGrain.cs

By default, upon activation, the journaled grain waits until it has loaded the latest view from storage. Subclasses can override this behavior, and skip the wait if desired.

public override System.Threading.Tasks.Task OnActivateAsync ();
override this.OnActivateAsync : unit -> System.Threading.Tasks.Task
Public Overrides Function OnActivateAsync () As Task

Returns

Applies to

OnActivateAsync(CancellationToken)

By default, upon activation, the journaled grain waits until it has loaded the latest view from storage. Subclasses can override this behavior, and skip the wait if desired.

public override System.Threading.Tasks.Task OnActivateAsync (System.Threading.CancellationToken cancellationToken);
override this.OnActivateAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function OnActivateAsync (cancellationToken As CancellationToken) As Task

Parameters

cancellationToken
CancellationToken

Returns

Applies to