ProtectedConfigurationProviderCollection 构造函数

定义

使用默认设置初始化 ProtectedConfigurationProviderCollection 类的新实例。Initializes a new instance of the ProtectedConfigurationProviderCollection class using default settings.

public:
 ProtectedConfigurationProviderCollection();
public ProtectedConfigurationProviderCollection ();
Public Sub New ()

注解

ProtectedConfigurationProviderCollection 构造函数不应在代码中直接使用。The ProtectedConfigurationProviderCollection constructor is not intended to be used directly from your code. 它由 ASP.NET 配置系统调用。It is called by the ASP.NET configuration system. 您可以使用 ProtectedConfiguration 类的 Providers 属性获取 ProtectedConfigurationProviderCollection 类的实例。You obtain an instance of the ProtectedConfigurationProviderCollection class by using the Providers property of the ProtectedConfiguration class.

适用于

另请参阅