AsyncReaderWriterResourceLock<TMoniker,TResource> Constructors

Definition

Overloads

AsyncReaderWriterResourceLock<TMoniker,TResource>()

Initializes a new instance of the AsyncReaderWriterResourceLock<TMoniker,TResource> class.

AsyncReaderWriterResourceLock<TMoniker,TResource>(Boolean)

Initializes a new instance of the AsyncReaderWriterResourceLock<TMoniker,TResource> class.

AsyncReaderWriterResourceLock<TMoniker,TResource>(JoinableTaskContext, Boolean)

Initializes a new instance of the AsyncReaderWriterResourceLock<TMoniker,TResource> class.

AsyncReaderWriterResourceLock<TMoniker,TResource>()

Initializes a new instance of the AsyncReaderWriterResourceLock<TMoniker,TResource> class.

protected:
 AsyncReaderWriterResourceLock();
protected:
 AsyncReaderWriterResourceLock();
 AsyncReaderWriterResourceLock();
protected AsyncReaderWriterResourceLock ();
Protected Sub New ()

Applies to

AsyncReaderWriterResourceLock<TMoniker,TResource>(Boolean)

Initializes a new instance of the AsyncReaderWriterResourceLock<TMoniker,TResource> class.

protected:
 AsyncReaderWriterResourceLock(bool captureDiagnostics);
protected:
 AsyncReaderWriterResourceLock(bool captureDiagnostics);
 AsyncReaderWriterResourceLock(bool captureDiagnostics);
protected AsyncReaderWriterResourceLock (bool captureDiagnostics);
new Microsoft.VisualStudio.Threading.AsyncReaderWriterResourceLock<'Moniker, 'Resource (requires 'Resource : null)> : bool -> Microsoft.VisualStudio.Threading.AsyncReaderWriterResourceLock<'Moniker, 'Resource (requires 'Resource : null)>
Protected Sub New (captureDiagnostics As Boolean)

Parameters

captureDiagnostics
Boolean

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

Applies to

AsyncReaderWriterResourceLock<TMoniker,TResource>(JoinableTaskContext, Boolean)

Initializes a new instance of the AsyncReaderWriterResourceLock<TMoniker,TResource> class.

protected:
 AsyncReaderWriterResourceLock(Microsoft::VisualStudio::Threading::JoinableTaskContext ^ joinableTaskContext, bool captureDiagnostics);
protected AsyncReaderWriterResourceLock (Microsoft.VisualStudio.Threading.JoinableTaskContext? joinableTaskContext, bool captureDiagnostics);
new Microsoft.VisualStudio.Threading.AsyncReaderWriterResourceLock<'Moniker, 'Resource (requires 'Resource : null)> : Microsoft.VisualStudio.Threading.JoinableTaskContext * bool -> Microsoft.VisualStudio.Threading.AsyncReaderWriterResourceLock<'Moniker, 'Resource (requires 'Resource : null)>
Protected Sub New (joinableTaskContext As JoinableTaskContext, captureDiagnostics As Boolean)

Parameters

joinableTaskContext
JoinableTaskContext

A JoinableTaskContext to help resolve dead locks caused by interdependency between top read lock tasks when there is a pending write lock blocking one of them.

captureDiagnostics
Boolean

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

Applies to