TelemetryExtensions.TrySetEnvelopeName(ITelemetry, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET