Partilhar via


AsyncReaderWriterResourceLock<TMoniker,TResource> Construtores

Definição

Sobrecargas

AsyncReaderWriterResourceLock<TMoniker,TResource>()

Inicializa uma nova instância da classe AsyncReaderWriterResourceLock<TMoniker,TResource>.

AsyncReaderWriterResourceLock<TMoniker,TResource>(Boolean)

Inicializa uma nova instância da classe AsyncReaderWriterResourceLock<TMoniker,TResource>.

AsyncReaderWriterResourceLock<TMoniker,TResource>(JoinableTaskContext, Boolean)

Inicializa uma nova instância da classe AsyncReaderWriterResourceLock<TMoniker,TResource>.

AsyncReaderWriterResourceLock<TMoniker,TResource>()

Inicializa uma nova instância da classe AsyncReaderWriterResourceLock<TMoniker,TResource>.

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

Aplica-se a

AsyncReaderWriterResourceLock<TMoniker,TResource>(Boolean)

Inicializa uma nova instância da classe AsyncReaderWriterResourceLock<TMoniker,TResource>.

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)

Parâmetros

captureDiagnostics
Boolean

true para gastar recursos adicionais capturando detalhes de diagnóstico que podem ser usados para analisar deadlocks ou outros problemas.

Aplica-se a

AsyncReaderWriterResourceLock<TMoniker,TResource>(JoinableTaskContext, Boolean)

Inicializa uma nova instância da classe AsyncReaderWriterResourceLock<TMoniker,TResource>.

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)

Parâmetros

joinableTaskContext
JoinableTaskContext

Um JoinableTaskContext para ajudar a resolve bloqueios inativos causados pela interdependência entre as tarefas de bloqueio de leitura superior quando há um bloqueio de gravação pendente bloqueando um deles.

captureDiagnostics
Boolean

true para gastar recursos adicionais capturando detalhes de diagnóstico que podem ser usados para analisar deadlocks ou outros problemas.

Aplica-se a