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.11.0+018bfa65877dd72e346735bad4d7ad46f217da09
Syntax
C#
public static void RegisterXRay(
	HttpApplication httpApplication,
	string segmentName
)

Parameters

httpApplication
Type: System.WebHttpApplication
Instance of HttpApplication class.
segmentName
Type: SystemString
Name to be used for all generated segments.
See Also