RequestContextExtensions.Import(Dictionary<String,Object>) 方法

定义

将指定的上下文数据导入当前 RequestContext,清除所有现有值。

public static void Import (System.Collections.Generic.Dictionary<string,object> contextData);
public static void Import (System.Collections.Generic.Dictionary<string,object>? contextData);
static member Import : System.Collections.Generic.Dictionary<string, obj> -> unit
Public Shared Sub Import (contextData As Dictionary(Of String, Object))
Public Sub Import (contextData As Dictionary(Of String, Object))

参数

contextData
Dictionary<String,Object>

上下文数据。

适用于