C# Класс Microsoft.HockeyApp.Channel.InMemoryChannel

Represents a communication channel for sending telemetry to Application Insights via HTTPS. There will be a buffer that will not be persisted, to enforce the queued telemetry items to be sent, ITelemetryChannel.Flush should be called.
Наследование: ITelemetryChannel
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
Dispose void
InMemoryChannel System

Открытые методы

Метод Описание
Dispose ( ) : void

Disposing the channel.

Flush ( ) : void

Will send all the telemetry items stored in the memory.

InMemoryChannel ( ) : System

Initializes a new instance of the InMemoryChannel class.

Send ( ITelemetry item ) : void

Sends an instance of ITelemetry through the channel.

Приватные методы

Метод Описание
Dispose ( bool disposing ) : void
InMemoryChannel ( TelemetryBuffer telemetryBuffer, InMemoryTransmitter transmitter ) : System

Initializes a new instance of the InMemoryChannel class. Used in unit tests for constructor injection.

Описание методов

Dispose() публичный Метод

Disposing the channel.
public Dispose ( ) : void
Результат void

Flush() публичный Метод

Will send all the telemetry items stored in the memory.
public Flush ( ) : void
Результат void

InMemoryChannel() публичный Метод

Initializes a new instance of the InMemoryChannel class.
public InMemoryChannel ( ) : System
Результат System

Send() публичный Метод

Sends an instance of ITelemetry through the channel.
public Send ( ITelemetry item ) : void
item ITelemetry
Результат void