IGrainContext.Activate 方法

定义

重载

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

开始激活此实例。

Activate(Dictionary<String,Object>, CancellationToken)

开始激活此实例。

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

开始激活此实例。

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)

参数

requestContext
Dictionary<String,Object>

导致激活此实例的请求的请求上下文(如果有)。

cancellationToken
Nullable<CancellationToken>

取消令牌,在取消时,指示进程应立即完成。

适用于

Activate(Dictionary<String,Object>, CancellationToken)

开始激活此实例。

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)

参数

requestContext
Dictionary<String,Object>

导致激活此实例的请求的请求上下文(如果有)。

cancellationToken
CancellationToken

取消令牌,在取消时,指示进程应立即完成。

适用于