Exemple #1
0
        private void SetStorageAccount(DurableTaskContext context)
        {
            var storageAccount = CloudStorageAccount.Parse(context.StorageAccount);

            _monitor = new DisconnectedPerformanceMonitor(storageAccount, context.TaskHub, context.MaxPollingIntervalMillisecond);
        }
Exemple #2
0
 public PerformanceMonitorRepository(DurableTaskContext context)
 {
     _context = context;
     SetStorageAccount(context);
 }