DsmlResponseDocument.SyncRoot Property

Definition

The SyncRoot property contains an object that can be used to synchronize access to the DsmlResponseDocument.

C#
protected object SyncRoot { get; }

Property Value

An object that can be used to synchronize access to the DsmlResponseDocument.

Remarks

Derived classes can provide synchronized versions of the DsmlResponseDocument using the SyncRoot property. The synchronizing code must perform operations on the SyncRoot of the DsmlResponseDocument, not directly on the DsmlResponseDocument. This ensures proper operation of collections derived from other objects. Specifically, it maintains proper synchronization with other threads that might be simultaneously modifying the DsmlResponseDocument object.

Applies to

Produkt Verzie
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1