Udostępnij przez


SettingsProviderAttribute Konstruktory

Definicja

Przeciążenia

SettingsProviderAttribute(String)

Inicjuje wystąpienie klasy SettingsProviderAttribute.

SettingsProviderAttribute(Type)

Inicjuje nowe wystąpienie klasy SettingsProviderAttribute.

SettingsProviderAttribute(String)

Źródło:
SettingsProviderAttribute.cs
Źródło:
SettingsProviderAttribute.cs
Źródło:
SettingsProviderAttribute.cs

Inicjuje wystąpienie klasy SettingsProviderAttribute.

public:
 SettingsProviderAttribute(System::String ^ providerTypeName);
public SettingsProviderAttribute (string providerTypeName);
new System.Configuration.SettingsProviderAttribute : string -> System.Configuration.SettingsProviderAttribute
Public Sub New (providerTypeName As String)

Parametry

providerTypeName
String

Element String zawierający nazwę dostawcy ustawień.

Uwagi

Nazwa typu to nazwa klasy pochodzącej z SettingsProviderklasy , która jest określana jako dostawca ustawień.

Przestroga

Korzystanie z dostawców ustawień niestandardowych z dowolnych firm trzecich jest z natury niebezpieczne, ponieważ ci dostawcy mają pełny dostęp do odczytu/zapisu do informacji o konfiguracji aplikacji. Dostawca ustawień należy dokładnie zweryfikować, zanim zostanie przyjęty do użytku ogólnego.

Zobacz też

Dotyczy

SettingsProviderAttribute(Type)

Źródło:
SettingsProviderAttribute.cs
Źródło:
SettingsProviderAttribute.cs
Źródło:
SettingsProviderAttribute.cs

Inicjuje nowe wystąpienie klasy SettingsProviderAttribute.

public:
 SettingsProviderAttribute(Type ^ providerType);
public SettingsProviderAttribute (Type providerType);
new System.Configuration.SettingsProviderAttribute : Type -> System.Configuration.SettingsProviderAttribute
Public Sub New (providerType As Type)

Parametry

providerType
Type

Element Type zawierający typ dostawcy ustawień.

Dotyczy