Click or drag to resize

AWSXRayASPNETRegisterXRay Method (HttpApplication, String)

Registers X-Ray for the current object of HttpApplication class. BeginRequest, EndRequest, Error event handlers are registered with X-Ray function. A segment is created at the beginning of the request and closed at the end of the request.

Namespace:  Amazon.XRay.Recorder.Handlers.AspNet
Assembly:  AWSXRayRecorder.Handlers.AspNet (in AWSXRayRecorder.Handlers.AspNet.dll) Version: 2.6.2
Syntax
C#
public static void RegisterXRay(
	HttpApplication httpApplication,
	string segmentName
)

Parameters

httpApplication
Type: System.WebHttpApplication
Instance of HttpApplication class.
segmentName
Type: SystemString
See Also