HttpCompileException::SourceCode Property

 

Gets a string containing the path to the file that contains the source code being compiled when the error occurs.

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

public:
property String^ SourceCode {
	[AspNetHostingPermissionAttribute(SecurityAction::Demand, Level = AspNetHostingPermissionLevel::High)]
	String^ get();
}

Property Value

Type: System::String^

The path of the source file being compiled when the error occurs. The default is null.

.NET Framework
Available since 1.1
Return to top
Show: