TelemetryExtensions.TrySetEnvelopeName(ITelemetry, String) Method

Definition

Sets envelope name for ITelemetry object.

public static bool TrySetEnvelopeName (this Microsoft.ApplicationInsights.Channel.ITelemetry telemetry, string envelopeName);
static member TrySetEnvelopeName : Microsoft.ApplicationInsights.Channel.ITelemetry * string -> bool
<Extension()>
Public Function TrySetEnvelopeName (telemetry As ITelemetry, envelopeName As String) As Boolean

Parameters

telemetry
ITelemetry

ITelemetry object to set envelope name for.

envelopeName
String

Envelope name to use for ITelemetry object.

Returns

Boolean indicating the success of assigning envelope name.

Applies to