C# Class 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.
Inheritance: ITelemetryChannel
Afficher le fichier Open project: bitstadium/HockeySDK-Windows

Private Properties

Свойство Type Description
Dispose void
InMemoryChannel System

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

Dispose() public méthode

Disposing the channel.
public Dispose ( ) : void
Résultat void

Flush() public méthode

Will send all the telemetry items stored in the memory.
public Flush ( ) : void
Résultat void

InMemoryChannel() public méthode

Initializes a new instance of the InMemoryChannel class.
public InMemoryChannel ( ) : System
Résultat System

Send() public méthode

Sends an instance of ITelemetry through the channel.
public Send ( ITelemetry item ) : void
item ITelemetry
Résultat void