SettingsBase.Synchronized(SettingsBase) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示