HttpCompileException.Message Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a message that describes the reason for the current exception.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public override string Message { get; }

Property Value

Type: System.String

A string that describes the first compilation error listed in the compiler results. If no compiler results were provided, the property returns the error message provided for this exception, or an empty string (""), if no error message was provided.

.NET Framework
Available since 2.0
Return to top