# ILogViewAdaptorHost&lt;TLogView, TLogEntry&gt;.OnViewChanged(bool, bool)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.ilogviewadaptorhost-2/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.ilogviewadaptorhost-2/methods/)

```csharp
public abstract void ILogViewAdaptorHost<TLogView, OnViewChanged(bool tentative, bool confirmed)
```

Notifies the host grain about state changes. Called by `Orleans.EventSourcing.ILogViewAdaptor-2` whenever the tentative or confirmed state changes. Implementations may vary as to whether and how much they batch change notifications. Any exceptions thrown will be caught and logged as a warning./&gt;.

### Parameters

- `tentative` (`bool`)
- `confirmed` (`bool`)
