Share via


NoOpTelemetryChannel Class

Definition

A stub of ITelemetryChannel.

public sealed class NoOpTelemetryChannel : IDisposable, Microsoft.ApplicationInsights.Channel.ITelemetryChannel
type NoOpTelemetryChannel = class
    interface ITelemetryChannel
    interface IDisposable
Public NotInheritable Class NoOpTelemetryChannel
Implements IDisposable, ITelemetryChannel
Inheritance
NoOpTelemetryChannel
Implements

Constructors

NoOpTelemetryChannel()

Initializes a new instance of the NoOpTelemetryChannel class.

Properties

DeveloperMode

Gets or sets a value indicating whether this channel is in developer mode.

EndpointAddress

Gets or sets a value indicating the channel's URI. To this URI the telemetry is expected to be sent.

OnDispose

Gets or sets the callback invoked by the Dispose() method.

OnFlush

Gets or sets the callback invoked by the Flush() method.

OnSend

Gets or sets the callback invoked by the Send(ITelemetry) method.

ThrowError

Gets or sets a value indicating whether to throw an error.

Methods

Dispose()

Implements the Dispose() method.

Flush()

Implements the Flush() method.

Send(ITelemetry)

Implements the Send(ITelemetry) method by invoking the OnSend callback.

Applies to