public Task Handle(HeartbeatRestored message, IMessageHandlerContext context)
    {
        telemetryClient.TrackEvent("Heartbeat Restored", new Dictionary <string, string>
        {
            { "EndpointName", message.EndpointName },
        });

        log.Info($"Heartbeats from {message.EndpointName} have been restored.");
        return(Task.CompletedTask);
    }
 public Task Handle(HeartbeatRestored message, IMessageHandlerContext context)
 {
     log.Info($"Heartbeat from {message.EndpointName} restored.");
     return(Task.FromResult(0));
 }
示例#3
0
 public Task Handle(HeartbeatRestored message, IMessageHandlerContext context)
 {
     log.Info($"Heartbeats from {message.EndpointName} have been restored.");
     return(Task.CompletedTask);
 }