IGrainContext.Activate Method

Definition

Start activating this instance.

public void Activate (System.Collections.Generic.Dictionary<string,object> requestContext, System.Threading.CancellationToken? cancellationToken = default);
abstract member Activate : System.Collections.Generic.Dictionary<string, obj> * Nullable<System.Threading.CancellationToken> -> unit
Public Sub Activate (requestContext As Dictionary(Of String, Object), Optional cancellationToken As Nullable(Of CancellationToken) = Nothing)

Parameters

requestContext
Dictionary<String,Object>

The request context of the request which is causing this instance to be activated, if any.

cancellationToken
Nullable<CancellationToken>

A cancellation token which, when canceled, indicates that the process should complete promptly.

Applies to