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.Booleantrue to spend additional resources capturing diagnostic details that can be used to analyze deadlocks or other issues.
.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.