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
파일 보기 프로젝트 열기: bitstadium/HockeySDK-Windows

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