SessionStateTempDataProvider.SaveTempData 方法

定义

保存临时数据。

public:
 virtual void SaveTempData(Microsoft::AspNetCore::Http::HttpContext ^ context, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ values);
public virtual void SaveTempData (Microsoft.AspNetCore.Http.HttpContext context, System.Collections.Generic.IDictionary<string,object> values);
abstract member SaveTempData : Microsoft.AspNetCore.Http.HttpContext * System.Collections.Generic.IDictionary<string, obj> -> unit
override this.SaveTempData : Microsoft.AspNetCore.Http.HttpContext * System.Collections.Generic.IDictionary<string, obj> -> unit
Public Overridable Sub SaveTempData (context As HttpContext, values As IDictionary(Of String, Object))

参数

values
IDictionary<String,Object>

要保存的值。

实现

适用于