|
49 | 49 | <Docs>
|
50 | 50 | <param name="pipelineBuilder">The builder for async processing pipeline.</param>
|
51 | 51 | <summary>
|
52 |
| - Adds the <see cref="T:System.Cloud.Messaging.IMessageMiddleware" /> to register the <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContextProvider" /> in <see cref="T:System.Cloud.Messaging.IMessageMiddleware" /> pipeline to |
53 |
| - create and set <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContext" /> with the <see cref="T:System.Cloud.Messaging.MessageContext" />. |
| 52 | + Adds the <see cref="T:System.Cloud.Messaging.IMessageMiddleware" /> to register the ILatencyContextProvider in <see cref="T:System.Cloud.Messaging.IMessageMiddleware" /> pipeline to |
| 53 | + create and set ILatencyContext with the <see cref="T:System.Cloud.Messaging.MessageContext" />. |
54 | 54 | </summary>
|
55 | 55 | <returns>
|
56 | 56 | <see cref="T:System.Cloud.Messaging.IAsyncProcessingPipelineBuilder" /> to chain additional calls.</returns>
|
57 | 57 | <remarks>
|
58 |
| - If the <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContext" /> is already available in the workflow, |
| 58 | + If the ILatencyContext is already available in the workflow, |
59 | 59 | use the <see cref="M:System.Cloud.Messaging.LatencyRecorderMiddlewareExtensions.AddLatencyContextMiddleware``1(System.Cloud.Messaging.IAsyncProcessingPipelineBuilder,System.Func{System.IServiceProvider,``0})" /> variant.
|
60 | 60 | </remarks>
|
61 | 61 | <exception cref="T:System.ArgumentNullException">Any argument is <see langword="null" />.</exception>
|
|
87 | 87 | <Parameter Name="implementationFactory" Type="System.Func<System.IServiceProvider,T>" Index="1" FrameworkAlternate="net-10.0-pp;net-8.0-pp;net-9.0-pp;netframework-4.6.2-pp" />
|
88 | 88 | </Parameters>
|
89 | 89 | <Docs>
|
90 |
| - <typeparam name="T">The type of <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContext" /> implementation.</typeparam> |
| 90 | + <typeparam name="T">The type of ILatencyContext implementation.</typeparam> |
91 | 91 | <param name="pipelineBuilder">The builder for async processing pipeline.</param>
|
92 |
| - <param name="implementationFactory">The <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContext" /> implementation factory.</param> |
| 92 | + <param name="implementationFactory">The ILatencyContext implementation factory.</param> |
93 | 93 | <summary>
|
94 |
| - Adds the <see cref="T:System.Cloud.Messaging.IMessageMiddleware" /> to reuse the existing <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContext" /> registered with the ASP.NET pipeline and set it in the <see cref="T:System.Cloud.Messaging.MessageContext" />. |
| 94 | + Adds the <see cref="T:System.Cloud.Messaging.IMessageMiddleware" /> to reuse the existing ILatencyContext registered with the ASP.NET pipeline and set it in the <see cref="T:System.Cloud.Messaging.MessageContext" />. |
95 | 95 | </summary>
|
96 | 96 | <returns>
|
97 | 97 | <see cref="T:System.Cloud.Messaging.IAsyncProcessingPipelineBuilder" /> to chain additional calls.</returns>
|
|
132 | 132 | <Parameter Name="exporterFactory" Type="System.Func<System.IServiceProvider,System.Collections.Generic.IEnumerable<Microsoft.Extensions.Telemetry.Latency.ILatencyDataExporter>>" Index="2" FrameworkAlternate="netframework-4.6.2-pp" />
|
133 | 133 | </Parameters>
|
134 | 134 | <Docs>
|
135 |
| - <typeparam name="T">The type of <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContextProvider" /> implementation.</typeparam> |
| 135 | + <typeparam name="T">The type of ILatencyContextProvider implementation.</typeparam> |
136 | 136 | <param name="pipelineBuilder">The builder for async processing pipeline.</param>
|
137 |
| - <param name="implementationFactory">The <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContextProvider" /> implementation factory.</param> |
| 137 | + <param name="implementationFactory">The ILatencyContextProvider implementation factory.</param> |
138 | 138 | <param name="exporterFactory">The factory for exporting capture latency context.</param>
|
139 | 139 | <summary>
|
140 |
| - Adds the <see cref="T:System.Cloud.Messaging.IMessageMiddleware" /> to register the provided <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContextProvider" /> in the <see cref="T:System.Cloud.Messaging.IMessageMiddleware" /> pipeline to |
141 |
| - create and set <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContext" /> with the <see cref="T:System.Cloud.Messaging.MessageContext" />. |
| 140 | + Adds the <see cref="T:System.Cloud.Messaging.IMessageMiddleware" /> to register the provided ILatencyContextProvider the <see cref="T:System.Cloud.Messaging.IMessageMiddleware" /> pipeline to |
| 141 | + create and set ILatencyContext with the <see cref="T:System.Cloud.Messaging.MessageContext" />. |
142 | 142 | </summary>
|
143 | 143 | <returns>
|
144 | 144 | <see cref="T:System.Cloud.Messaging.IAsyncProcessingPipelineBuilder" /> to chain additional calls.</returns>
|
145 | 145 | <remarks>
|
146 |
| - If the <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContext" /> is already available in the workflow, |
| 146 | + If the ILatencyContext is already available in the workflow, |
147 | 147 | use the <see cref="M:System.Cloud.Messaging.LatencyRecorderMiddlewareExtensions.AddLatencyContextMiddleware``1(System.Cloud.Messaging.IAsyncProcessingPipelineBuilder,System.Func{System.IServiceProvider,``0})" /> variant.
|
148 | 148 | </remarks>
|
149 | 149 | <exception cref="T:System.ArgumentNullException">Any argument is <see langword="null" />.</exception>
|
|
179 | 179 | <param name="failureMeasureToken">The failure token.</param>
|
180 | 180 | <summary>
|
181 | 181 | Adds the <see cref="T:System.Cloud.Messaging.IMessageMiddleware" /> for recording latency of the underlying <see cref="T:System.Cloud.Messaging.IMessageMiddleware" /> pipeline
|
182 |
| - by obtaining the <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContext" /> associated with <see cref="T:System.Cloud.Messaging.MessageContext" />. |
| 182 | + by obtaining the ILatencyContext associated with <see cref="T:System.Cloud.Messaging.MessageContext" />. |
183 | 183 | </summary>
|
184 | 184 | <returns>
|
185 | 185 | <see cref="T:System.Cloud.Messaging.IAsyncProcessingPipelineBuilder" /> to chain additional calls.</returns>
|
186 | 186 | <remarks>
|
187 |
| - Ensure to register the <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContext" /> in the <see cref="T:System.Cloud.Messaging.MessageContext" /> before calling this method via either of the following methods: |
| 187 | + Ensure to register the ILatencyContext in the <see cref="T:System.Cloud.Messaging.MessageContext" /> before calling this method via either of the following methods: |
188 | 188 | 1. <see cref="M:System.Cloud.Messaging.LatencyRecorderMiddlewareExtensions.AddLatencyContextMiddleware(System.Cloud.Messaging.IAsyncProcessingPipelineBuilder)" /> OR
|
189 | 189 | 2. <see cref="M:System.Cloud.Messaging.LatencyRecorderMiddlewareExtensions.AddLatencyContextMiddleware``1(System.Cloud.Messaging.IAsyncProcessingPipelineBuilder,System.Func{System.IServiceProvider,``0},System.Func{System.IServiceProvider,System.Collections.Generic.IEnumerable{Microsoft.Extensions.Telemetry.Latency.ILatencyDataExporter}})" /> OR
|
190 | 190 | 3. <see cref="M:System.Cloud.Messaging.LatencyRecorderMiddlewareExtensions.AddLatencyContextMiddleware``1(System.Cloud.Messaging.IAsyncProcessingPipelineBuilder,System.Func{System.IServiceProvider,``0})" />.
|
|
0 commit comments