public override Task ProcessDeployedServicePackageHealthAsync(DeployedServicePackageEntity deployedServicePackage) { ServiceEventSource.Current.Message($"deployed service package: {deployedServicePackage}, aggregatedHealth: {deployedServicePackage.Health.AggregatedHealthState}"); if (deployedServicePackage.IsHealthEventReportingEnabled( deployedServicePackage.ApplicationName, deployedServicePackage.Health.AggregatedHealthState)) { deployedServicePackage.Health.HealthEvents .ForEachHealthEvent(healthEvent => { ServiceEventSource.Current.Message($"deployed service package: {deployedServicePackage}, health: {healthEvent}"); }); } return(this.completedTask); }
public abstract Task ProcessDeployedServicePackageHealthAsync(DeployedServicePackageEntity deployedServicePackage);