# ServiceInfo.TryExcludeTag method

Attempts to exclude a tag from service.

```csharp
public bool TryExcludeTag(string tagName, out ServiceInfo service, 
    out IReadOnlyList<ServiceDefinitionError> errors)
```

## See Also

* class [ServiceDefinitionError](../ServiceDefinitionError.md)
* class [ServiceInfo](../ServiceInfo.md)
* namespace [Facility.Definition](../../Facility.Definition.md)

<!-- DO NOT EDIT: generated by xmldocmd for Facility.Definition.dll -->
