C# 클래스 Microsoft.HockeyApp.Channel.PersistenceChannel

Represents a communication channel for sending telemetry to Application Insights via HTTPS.
상속: ITelemetryChannel
파일 보기 프로젝트 열기: bitstadium/HockeySDK-Windows 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Dispose ( ) : void

Releases unmanaged and - optionally - managed resources.

Flush ( ) : void

Flushes the in-memory buffer to disk.

PersistenceChannel ( ) : System

Initializes a new instance of the PersistenceChannel class.

PersistenceChannel ( string storageFolderName, int sendersCount = 1 ) : System

Initializes a new instance of the PersistenceChannel class.

Send ( ITelemetry item ) : void

Sends an instance of ITelemetry through the channel.

메소드 상세

Dispose() 공개 메소드

Releases unmanaged and - optionally - managed resources.
public Dispose ( ) : void
리턴 void

Flush() 공개 메소드

Flushes the in-memory buffer to disk.
public Flush ( ) : void
리턴 void

PersistenceChannel() 공개 메소드

Initializes a new instance of the PersistenceChannel class.
public PersistenceChannel ( ) : System
리턴 System

PersistenceChannel() 공개 메소드

Initializes a new instance of the PersistenceChannel class.
public PersistenceChannel ( string storageFolderName, int sendersCount = 1 ) : System
storageFolderName string /// A folder name. Under this folder all the transmissions will be saved. /// Setting this value groups channels, even from different processes. /// If 2 (or more) channels has the same storageFolderName only one channel will perform the sending even if the channel is in a different process/AppDomain/Thread. ///
sendersCount int /// Defines the number of senders. A sender is a long-running thread that sends telemetry batches in intervals defined by . /// So the amount of senders also defined the maximum amount of http channels opened at the same time. ///
리턴 System

Send() 공개 메소드

Sends an instance of ITelemetry through the channel.
public Send ( ITelemetry item ) : void
item ITelemetry
리턴 void