in sdk/src/Handlers/AwsSdk/Internal/XRayPipelineHandler.cs [612:638]
public override void InvokeSync(IExecutionContext executionContext)
{
if (XRayPipelineHandler.IsTracingDisabled() || XRayPipelineHandler.ExcludeServiceOperation(executionContext))
{
base.InvokeSync(executionContext);
}
else
{
ProcessBeginRequest(executionContext);
try
{
base.InvokeSync(executionContext);
}
catch (Exception e)
{
PopulateException(e);
throw;
}
finally
{
ProcessEndRequest(executionContext);
}
}
}