コード例 #1
0
 public PlatformServiceJobBase(string jobId, string instanceId, AzureBasedApplicationBase azureApplication, PlatformServiceJobInputBase input, JobType jobType)
 {
     JobId            = jobId;
     InstanceId       = instanceId;
     JobInput         = input;
     JobType          = jobType;
     AzureApplication = azureApplication;
     LoggingContext   = new LoggingContext(JobId, InstanceId);
 }
コード例 #2
0
 /// <summary>
 /// Creates an instance of <see cref="PlatformServiceListeningJobBase"/>.
 /// </summary>
 /// <param name="jobId">Unique ID of this job, it distinguishes the job from other jobs.</param>
 /// <param name="instanceId">ID of the service/process/webapp hosting all the jobs.</param>
 /// <param name="input"><see cref="PlatformServiceListeningJobBase"/> providing configuration for the job.</param>
 /// <param name="jobType"><see cref="JobType"/> specifying the type of this job.</param>
 public PlatformServiceListeningJobBase(string jobId, string instanceId, AzureBasedApplicationBase azureApplication, PlatformServiceJobInputBase input, JobType jobType)
     : base(jobId, instanceId, azureApplication, input, jobType)
 {
 }