BuildProvider::ProcessCompileErrors Method
When overridden in a derived class, enables you to review compiler error messages so that you can modify them to provide more information.
Assembly: System.Web (in System.Web.dll)
Parameters
- results
- Type: System.CodeDom.Compiler::CompilerResults
Compiler results.
You typically override this method so that you can modify compiler errors before they are displayed in order to make the error text more helpful to the user. This is useful in scenarios where you know the context of certain errors and can provide information to the user about how to fix them. The original compiler error message is usually specific to a particular language construct and might not make the real cause or solution obvious to the user.
You can access the errors by using the CompilerResults object that is passed to the method.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.