แก้ไข

แชร์ผ่าน


DsmlResponseDocument.SyncRoot Property

Definition

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

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 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