JHServer.CreateStaticPage Method (String, String)

DCSoft.DBUtilityGeneric

JHServerCreateStaticPage Method (String, String)
在当前请求的上下文中执行指定虚拟路径的处理程序,将生成后的输出保存到文件,异常将直接抛出

Namespace: DCSoft.Utility.Web
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public static bool CreateStaticPage(
	string virtualPath,
	string targetPath
)

Parameters

virtualPath
Type: SystemString
要执行的 URL 虚礼路径
targetPath
Type: SystemString
要保存的目标文件完全限定名

Return Value

Type: Boolean
返回一个值,该值指示目标文件是否生成成功
See Also