Edit

Share via


StorageFaultGrain.OnActivateAsync Method

Definition

Overloads

OnActivateAsync()

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.

OnActivateAsync(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.

OnActivateAsync()

Source:
StorageFaultGrain.cs

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.

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)

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.

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

A cancellation token which signals when activation is being canceled.

Returns

Applies to