ReadOnlyList.SyncRoot Property
Note: This API is now obsolete.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Common
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
声明
<ObsoleteAttribute("Direct using of o.SyncRoot is obsolete, use ((ICollection)o).SyncRoot")> _
Public ReadOnly Property SyncRoot As Object
Get
[ObsoleteAttribute("Direct using of o.SyncRoot is obsolete, use ((ICollection)o).SyncRoot")]
public Object SyncRoot { get; }
[ObsoleteAttribute(L"Direct using of o.SyncRoot is obsolete, use ((ICollection)o).SyncRoot")]
public:
property Object^ SyncRoot {
Object^ get ();
}
[<ObsoleteAttribute("Direct using of o.SyncRoot is obsolete, use ((ICollection)o).SyncRoot")>]
member SyncRoot : Object
function get SyncRoot () : Object
Property Value
Type: System.Object
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.