# LabelSpecs Constructors

- Package: [Aspire.Hosting.Docker](/reference/api/csharp/aspire.hosting.docker.md)
- Type: [LabelSpecs](/reference/api/csharp/aspire.hosting.docker/labelspecs.md)
- Kind: `Constructors`
- Members: `1`

Represents a collection of labels that can be associated with a Docker service. This class is used to define metadata in the form of key-value pairs.

## LabelSpecs

- Name: `Constructor`

```csharp
public sealed class LabelSpecs
{
    public LabelSpecs()
    {
        // ...
    }
}
```
