public override async Task OnDisconnectedAsync(Exception exception) { foreach (var item in moduleSubcriptions) { await logStream.SubscribeAsync(item, false); } foreach (var item in appSubscriptions) { await logStream.SubscribeAppInsightsAsync(item, false); } await base.OnDisconnectedAsync(exception); }
public async Task SubscribeAppInsights(string resource, bool monitor) { await logStream.SubscribeAppInsightsAsync(resource, monitor); }