DsmlRequestDocument.SyncRoot Property
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.
The SyncRoot property contains an object that can be used to synchronize access to the DsmlRequestDocument.
protected:
property System::Object ^ SyncRoot { System::Object ^ get(); };
protected object SyncRoot { get; }
member this.SyncRoot : obj
Protected ReadOnly Property SyncRoot As Object
Property Value
An object that can be used to synchronize access to the DsmlRequestDocument.
Remarks
Derived classes can provide synchronized versions of the DsmlRequestDocument using the SyncRoot property. The synchronizing code must perform operations on the SyncRoot of the DsmlRequestDocument, not directly on the DsmlRequestDocument. This ensures proper operation of collections that are derived from other objects. Specifically, it maintains proper synchronization with other threads that might be simultaneously modifying the DsmlRequestDocument object.