Szerkesztés

Megosztás a következőn keresztül:


DsmlRequestDocument.SyncRoot Property

Definition

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.

Applies to