Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 public async Task Subscribe(string resource, bool monitor)
 {
     await logStream.SubscribeAsync(resource, monitor);
 }