Click or drag to resize

AWSXRayASPNETRegisterXRay Method (HttpApplication, SegmentNamingStrategy)

Registers X-Ray for the current object of HttpApplication class. BeginRequest, EndRequest, Error event handlers are registered with X-Ray function.

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,
	SegmentNamingStrategy segmentNamingStrategy
)

Parameters

httpApplication
Type: System.WebHttpApplication
Instance of HttpApplication class.
segmentNamingStrategy
Type: Amazon.XRay.Recorder.Core.StrategiesSegmentNamingStrategy
Instance of SegmentNamingStrategy class. Defines segment naming strategy.
See Also