SessionStateTempDataProvider.SaveTempData 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
儲存暫存資料。
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))
參數
- context
- HttpContext
- values
- IDictionary<String,Object>
要儲存的值。