ClientBuildManager::CompileFile Method (String^, ClientBuildManagerCallback^)

 

Compiles the file represented by the virtual path and provides a callback class to receive status information about the build.

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

public:
void CompileFile(
	String^ virtualPath,
	ClientBuildManagerCallback^ callback
)

Parameters

virtualPath
Type: System::String^

The path to the file to be compiled.

callback
Type: System.Web.Compilation::ClientBuildManagerCallback^

The object to receive status information from compilation.

Exception Condition
ArgumentNullException

virtualPath is null.

.NET Framework
Available since 2.0
Return to top
Show: