Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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)
Syntax
'Declaration
Protected Overridable Function OnCriticalFailure ( _
ex As Exception _
) As Exception
protected virtual Exception OnCriticalFailure(
Exception ex
)
protected:
virtual Exception^ OnCriticalFailure(
Exception^ ex
)
abstract OnCriticalFailure :
ex:Exception -> Exception
override OnCriticalFailure :
ex:Exception -> Exception
protected function OnCriticalFailure(
ex : Exception
) : Exception
Parameters
ex
Type: System.ExceptionThe exception.
Return Value
Type: System.Exception
An exception that may be returned by some implementations of this method for the caller to rethrow.
.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.