# RedactAttribute

Package: [Microsoft.Orleans.Core](/orleans/docs/api/csharp/microsoft.orleans.core/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Core) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core/Configuration/OptionLogger/RedactMemberAttribute.cs#L10)

```csharp
public class RedactAttribute : Attribute
```

When applied to a property on an options class, this attribute prevents the property value from being formatted by conforming [IOptionFormatter](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.ioptionformatter/) instances.

## Constructors

- [RedactAttribute](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.redactattribute/constructors/constructor-6a77bbdd/)

## Methods

- [Redact(object)](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.redactattribute/methods/redact-object-91c8749f/)
