Click or drag to resize

DynamicSegmentNamingStrategy Constructor

Initializes a new instance of the DynamicSegmentNamingStrategy class.

Namespace:  Amazon.XRay.Recorder.Core.Strategies
Assembly:  AWSXRayRecorder.Core (in AWSXRayRecorder.Core.dll) Version: 2.14.0+018bfa65877dd72e346735bad4d7ad46f217da09
Syntax
C#
public DynamicSegmentNamingStrategy(
	string fallbackSegmentName,
	string hostNamePattern = "*"
)

Parameters

fallbackSegmentName
Type: SystemString
Name of the fallback segment.
hostNamePattern (Optional)
Type: SystemString
The host name pattern.
Exceptions
ExceptionCondition
ArgumentException fallbackSegmentName cannot be null or empty. - fallbackSegmentName or hostNamePattern cannot be null or empty. - hostNamePattern
See Also