ITempDataProvider.SaveTempData(HttpContext, IDictionary<String,Object>) 方法

定义

保存临时数据。

public:
 void SaveTempData(Microsoft::AspNetCore::Http::HttpContext ^ context, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ values);
public 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
Public Sub SaveTempData (context As HttpContext, values As IDictionary(Of String, Object))

参数

values
IDictionary<String,Object>

要保存的值。

适用于