ClientBuildManager::CompileFile Method (String^, ClientBuildManagerCallback^)
.NET Framework (current version)
Compiles the file represented by the virtual path and provides a callback class to receive status information about the build.
Assembly: System.Web (in System.Web.dll)
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
Available since 2.0
Show: