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