C# Class Microsoft.Azure.Devices.Applications.RemoteMonitoring.Simulator.WebJob.SimulatorCore.Telemetry.ConcreteTelemetry

Represents a static, pre-defined group of events that a simulated device will send to the cloud. To create events using code, implement the ITelemetry interface directly.
Inheritance: ITelemetry
Mostra file Open project: Azure/azure-iot-remote-monitoring Class Usage Examples

Public Methods

Method Description
ConcreteTelemetry ( ILogger logger ) : System
SendEventsAsync ( CancellationToken token, Task>.Func sendMessageAsync ) : Task

Method Details

ConcreteTelemetry() public method

public ConcreteTelemetry ( ILogger logger ) : System
logger ILogger
return System

SendEventsAsync() public method

public SendEventsAsync ( CancellationToken token, Task>.Func sendMessageAsync ) : Task
token System.Threading.CancellationToken
sendMessageAsync Task>.Func
return Task