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

A transmitter that will immediately send telemetry over HTTP. Telemetry items are being sent when Flush is called, or when the buffer is full (An OnFull "event" is raised) or every 30 seconds.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
DequeueAndSend void
Dispose void
Flush void
InMemoryTransmitter System
OnBufferFull void
Runner void
Send Task

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

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

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

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

Flushes the in-memory buffer and send it.

Dispose ( bool disposing ) : void
Flush ( ) : void

Flushes the in-memory buffer and sends it.

InMemoryTransmitter ( TelemetryBuffer buffer ) : System
OnBufferFull ( ) : void

Happens when the in-memory buffer is full. Flushes the in-memory buffer and sends the telemetry items.

Runner ( ) : void

Flushes the in-memory buffer and sends the telemetry items in sendingInterval intervals or when startRunnerEvent is set.

Send ( IEnumerable telemetryItems ) : Task

Serializes a list of telemetry items and sends them.

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

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void