# GrainAddressCacheUpdate

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

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

```csharp
[Orleans.GenerateSerializer]
[Orleans.Immutable]
public sealed class GrainAddressCacheUpdate : IFormattable, ISpanFormattable
```

Represents a directive to update an invalid, cached [GrainAddress](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.grainaddress/) to a valid [GrainAddress](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.grainaddress/).

## Constructors

- [GrainAddressCacheUpdate(GrainAddress, GrainAddress?)](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.grainaddresscacheupdate/constructors/constructor-orleans-runtime-grainaddress-orleans-runtime-grainaddress-nullable-745637ab/)

## Properties

- [GrainId](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.grainaddresscacheupdate/properties/grainid-eaf84316/)
- [InvalidActivationId](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.grainaddresscacheupdate/properties/invalidactivationid-03bd7931/)
- [InvalidGrainAddress](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.grainaddresscacheupdate/properties/invalidgrainaddress-476f6fe1/)
- [InvalidSiloAddress](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.grainaddresscacheupdate/properties/invalidsiloaddress-ab28ea14/)
- [ValidGrainAddress](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.grainaddresscacheupdate/properties/validgrainaddress-518efd37/)

## Methods

- [ToFullString](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.grainaddresscacheupdate/methods/tofullstring-d40cef2f/)
- [ToString](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.grainaddresscacheupdate/methods/tostring-30ed58a2/)
