Edit

Share via


IGrainContext.Activate Method

Definition

Overloads

Activate(Dictionary<String,Object>, Nullable<CancellationToken>)

Start activating this instance.

Activate(Dictionary<String,Object>, CancellationToken)

Start activating this instance.

Activate(Dictionary<String,Object>, Nullable<CancellationToken>)

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

Activate(Dictionary<String,Object>, CancellationToken)

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> * System.Threading.CancellationToken -> unit
Public Sub Activate (requestContext As Dictionary(Of String, Object), Optional cancellationToken As CancellationToken = Nothing)

Parameters

requestContext
Dictionary<String,Object>

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

cancellationToken
CancellationToken

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

Applies to