public override void Run() { Trace.WriteLine(RoleEnvironment.CurrentRoleInstance.Role.Name + " entry point called.", "Information"); string blobCleanupIntevalSetting = CloudConfigurationManager.GetSetting("BlobCleanupInterval"); var cleanup = new BlobCleanup(TimeSpan.Parse(blobCleanupIntevalSetting)); cleanup.Run(new ReadOnlyCollection<string>(new[] { CloudConfigurationManager.GetSetting("ServiceOfferingFileContainerName"), CloudConfigurationManager.GetSetting("CustomDataFileContainerName") })); base.Run(); }
public override void Run() { Trace.WriteLine(RoleEnvironment.CurrentRoleInstance.Role.Name + " entry point called.", "Information"); string blobCleanupIntevalSetting = CloudConfigurationManager.GetSetting("BlobCleanupInterval"); var cleanup = new BlobCleanup(TimeSpan.Parse(blobCleanupIntevalSetting)); cleanup.Run(new ReadOnlyCollection <string>(new[] { CloudConfigurationManager.GetSetting("ServiceOfferingFileContainerName"), CloudConfigurationManager.GetSetting("CustomDataFileContainerName") })); base.Run(); }