InstrumentationService.BeginContext 方法

定义

此类型/成员支持.NET Framework基础结构,不应直接从代码中使用。在呈现指定上下文的输出之前调用。

public void BeginContext (System.Web.HttpContextBase context, string virtualPath, System.IO.TextWriter writer, int startPosition, int length, bool isLiteral);
member this.BeginContext : System.Web.HttpContextBase * string * System.IO.TextWriter * int * int * bool -> unit
Public Sub BeginContext (context As HttpContextBase, virtualPath As String, writer As TextWriter, startPosition As Integer, length As Integer, isLiteral As Boolean)

参数

context
HttpContextBase

上下文。

virtualPath
String

虚拟路径。

writer
TextWriter

编写器。

startPosition
Int32

开始位置。

length
Int32

上下文的长度。

isLiteral
Boolean

确定上下文是否为文本。

适用于