Rediger

Del via


SettingsBase.Synchronized(SettingsBase) Method

Definition

Provides a SettingsBase class that is synchronized (thread safe).

public:
 static System::Configuration::SettingsBase ^ Synchronized(System::Configuration::SettingsBase ^ settingsBase);
public static System.Configuration.SettingsBase Synchronized (System.Configuration.SettingsBase settingsBase);
static member Synchronized : System.Configuration.SettingsBase -> System.Configuration.SettingsBase
Public Shared Function Synchronized (settingsBase As SettingsBase) As SettingsBase

Parameters

settingsBase
SettingsBase

The class used to support user property settings.

Returns

A SettingsBase class that is synchronized.

Remarks

The indexer will get and set property data in a thread-safe manner if the IsSynchronized property is set to true. A SettingsBase instance by default is not thread-safe. However, you can call Synchronized passing in a SettingsBase instance to make the SettingsBase indexer operate in a thread-safe manner.

Applies to