Share via


AsyncReaderWriterLock Constructor (Boolean)

Microsoft internal only. Initializes a new instance of syncReaderWriterLock, specifying whether to spend additional resources on diagnostic details.

Namespace:  Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

Syntax

'Declaration
Public Sub New ( _
    captureDiagnostics As Boolean _
)
public AsyncReaderWriterLock(
    bool captureDiagnostics
)
public:
AsyncReaderWriterLock(
    bool captureDiagnostics
)
new : 
        captureDiagnostics:bool -> AsyncReaderWriterLock
public function AsyncReaderWriterLock(
    captureDiagnostics : boolean
)

Parameters

  • captureDiagnostics
    Type: System.Boolean

    true to spend additional resources capturing diagnostic details that can be used to analyze deadlocks or other issues.

.NET Framework Security

See Also

Reference

AsyncReaderWriterLock Class

AsyncReaderWriterLock Overload

Microsoft.VisualStudio.Threading Namespace