SessionStateTempDataProvider 构造函数

定义

重载

SessionStateTempDataProvider()
SessionStateTempDataProvider(TempDataSerializer)

初始化 SessionStateTempDataProvider 的新实例。

SessionStateTempDataProvider()

Source:
SessionStateTempDataProvider.cs
Source:
SessionStateTempDataProvider.cs
public:
 SessionStateTempDataProvider();
public SessionStateTempDataProvider ();
Public Sub New ()

适用于

SessionStateTempDataProvider(TempDataSerializer)

Source:
SessionStateTempDataProvider.cs

初始化 SessionStateTempDataProvider 的新实例。

public:
 SessionStateTempDataProvider(Microsoft::AspNetCore::Mvc::ViewFeatures::Infrastructure::TempDataSerializer ^ tempDataSerializer);
public SessionStateTempDataProvider (Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure.TempDataSerializer tempDataSerializer);
new Microsoft.AspNetCore.Mvc.ViewFeatures.SessionStateTempDataProvider : Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure.TempDataSerializer -> Microsoft.AspNetCore.Mvc.ViewFeatures.SessionStateTempDataProvider
Public Sub New (tempDataSerializer As TempDataSerializer)

参数

适用于