public ZAwsTaskHandleNewSpotRequestBasedEc2Instance(ZAwsSpotRequest spotRequest, string SupposedInstanceName) : base(spotRequest.myController, "New EC2 based on Spot Request handling.") { SpotRequest = spotRequest; Ec2NewName = SupposedInstanceName; StartMessage = ""; SuccessMessage = "Succesfully set the name " + Ec2NewName + " to new EC2 instance."; ExceptionMessage = "Error setting name to the new instance, reason: {0}"; DelayBeforeTaskStart = 10; }