Compartilhar via


AsyncReaderWriterResourceLock<TMoniker, TResource> Constructor (Boolean)

Microsoft internal only. Initializes a new instance of the AsyncReaderWriterResourceLock.

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

Syntax

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

Parameters

  • captureDiagnostics
    Type: System.Boolean

    true to capture diagnostics, otherwise false.

.NET Framework Security

See Also

Reference

AsyncReaderWriterResourceLock<TMoniker, TResource> Class

AsyncReaderWriterResourceLock<TMoniker, TResource> Overload

Microsoft.VisualStudio.Threading Namespace