Click or drag to resize

RuleCacheGetMatchedRule Method

Returns matched rule for the given SamplingInput.

Namespace:  Amazon.XRay.Recorder.Core.Sampling
Assembly:  AWSXRayRecorder.Core (in AWSXRayRecorder.Core.dll) Version: 2.14.0+018bfa65877dd72e346735bad4d7ad46f217da09
Syntax
C#
public SamplingRule GetMatchedRule(
	SamplingInput input,
	TimeStamp time
)

Parameters

input
Type: Amazon.XRay.Recorder.Core.SamplingSamplingInput
Instance of SamplingInput.
time
Type: Amazon.XRay.Recorder.Core.SamplingTimeStamp
Current time.

Return Value

Type: SamplingRule
Instance of SamplingRule.
See Also