public TableStorageJobEventContext(CloudStorageAccount storageAccount, string jobsTableName = "Jobs", string jobInstancesTableName = "JobInstances", string jobInstanceEventsTableName = "JobInstanceEvents")
 {
     var tableClient = storageAccount.CreateCloudTableClient();
     _jobsWriter = new TableWriter(tableClient, jobsTableName);
     _jobInstancesWriter = new TableWriter(tableClient, jobInstancesTableName);
     _jobInstanceEventsWriter = new TableWriter(tableClient, jobInstanceEventsTableName);
 }
示例#2
0
        public TableStorageJobEventContext(CloudStorageAccount storageAccount, string jobsTableName = "Jobs", string jobInstancesTableName = "JobInstances", string jobInstanceEventsTableName = "JobInstanceEvents")
        {
            var tableClient = storageAccount.CreateCloudTableClient();

            _jobsWriter              = new TableWriter(tableClient, jobsTableName);
            _jobInstancesWriter      = new TableWriter(tableClient, jobInstancesTableName);
            _jobInstanceEventsWriter = new TableWriter(tableClient, jobInstanceEventsTableName);
        }