# ILogConsistencyProtocolParticipant.PreActivateProtocolParticipant(CancellationToken)

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

[Source](https://github.com/dotnet/orleans/blob/1644940b035c7bdf215a4fd7135757c06bcfe9ec/src/Orleans.EventSourcing/LogConsistency/IProtocolParticipant.cs#L25)

```csharp
[Orleans.Alias(0DB087C8)]
public virtual Task PreActivateProtocolParticipant(CancellationToken cancellationToken)
```

Called immediately before the user-level OnActivateAsync, on the same scheduler.

### Parameters

- `cancellationToken` (`CancellationToken`): The cancellation token.

### Returns

A `System.Threading.Tasks.Task` representing the operation.
