AsyncReaderWriterLock::OnCriticalFailure Method (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.

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

protected:
Exception^ OnCriticalFailure(
	String^ message
)

Parameters

message
Type: System::String^

The message to use for the exception.

Return Value

Type: System::Exception^

An exception that may be returned by some implementations of htis method for the caller to rethrow.

Return to top
Show: