/// <summary>Initializes a new instance of the
 /// <see cref="DurableTask.AzureStorage.Partitioning.LeaseLostException" /> class using specified lease and the error that caused the exception.</summary>
 /// <param name="lease">The messaging lease.</param>
 /// <param name="innerException">The error that caused the exception.</param>
 public LeaseLostException(Lease lease, Exception innerException)
     : base(null, innerException)
 {
     this.Lease = lease;
 }
 /// <summary>Initializes a new instance of the <see cref="DurableTask.AzureStorage.Partitioning.LeaseLostException" /> class using specified lease.</summary>
 /// <param name="lease">The messaging lease.</param>
 public LeaseLostException(Lease lease)
     : base()
 {
     this.Lease = lease;
 }