# AcquiredLease Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.leaseproviders.acquiredlease/)

## AcquiredLease(string) {#constructor-string-34a6a243}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.leaseproviders.acquiredlease/constructors/constructor-string-34a6a243/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core/Providers/ILeaseProvider.cs#L56-L59)

```csharp
public AcquiredLease(string resourceKey)
```

Constructor

### Parameters

- `resourceKey` (`string`)

## AcquiredLease(string, TimeSpan, string, DateTime) {#constructor-string-system-timespan-string-system-datetime-2306d836}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.leaseproviders.acquiredlease/constructors/constructor-string-system-timespan-string-system-datetime-2306d836/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core/Providers/ILeaseProvider.cs#L44-L50)

```csharp
public AcquiredLease(string resourceKey, TimeSpan duration, string token, DateTime startTimeUtc)
```

Constructor

### Parameters

- `resourceKey` (`string`)
- `duration` (`TimeSpan`)
- `token` (`string`)
- `startTimeUtc` (`DateTime`)
