AsyncReaderWriterLock.OnCriticalFailure Method

Include Protected Members
Include Inherited Members

Occurs when the lock detects an internal error or illegal usage pattern that indicates a serious flaw that should be immediately reported to the application, while possibly also stopping the process to avoid hangs or data corruption.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Protected method OnCriticalFailure(Exception) Occurs when the lock detects an internal error or illegal usage pattern that indicates a serious flaw that should be immediately reported to the application, while possibly also stopping the process to avoid hangs or data corruption.
Protected method OnCriticalFailure(String) Occurs when the lock detects an internal error or illegal usage pattern that indicates a serious flaw that should be immediately reported to the application, while possibly also stopping the process to avoid hangs or data corruption.

Top

See Also

Reference

AsyncReaderWriterLock Class

Microsoft.VisualStudio.Threading Namespace