Share via


InstrumentationService.BeginContext Method

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Called before it renders the output for the specified context.

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)

Parameters

context
HttpContextBase

The context.

virtualPath
String

The virtual path.

writer
TextWriter

The writer.

startPosition
Int32

The start position.

length
Int32

The length of the context.

isLiteral
Boolean

Determines whether the context is literal.

Applies to