The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Debug::Fail Method
.NET Framework (current version)
Emits an error message.
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | Fail(String^) | Emits the specified error message. |
![]() ![]() | Fail(String^, String^) | Emits an error message and a detailed error message. |
Show:

