共用方式為


TraceContextBaseExtensions.CreateRequestTelemetry Method

Definition

Create RequestTelemetry from the TraceContext.

public static Microsoft.ApplicationInsights.DataContracts.RequestTelemetry CreateRequestTelemetry (this DurableTask.Core.TraceContextBase context, string siteName);
static member CreateRequestTelemetry : DurableTask.Core.TraceContextBase * string -> Microsoft.ApplicationInsights.DataContracts.RequestTelemetry
<Extension()>
Public Function CreateRequestTelemetry (context As TraceContextBase, siteName As String) As RequestTelemetry

Parameters

context
DurableTask.Core.TraceContextBase

TraceContext.

siteName
String

Site name.

Returns

RequestTelemetry.

Applies to