Click or drag to resize
Akka.NETISnapshotQueryExecutorSelectSnapshotAsync Method
Selects a single snapshot identified by persistent actor's persistenceId, matching upper (inclusive) bounds of both maxSequenceNr and maxTimestamp. In case, when more than one snapshot matches specified criteria, one with the highest sequence number will be selected.

Namespace:  Akka.Persistence.Sql.Common.Snapshot
Assembly:  Akka.Persistence.Sql.Common (in Akka.Persistence.Sql.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Task<SelectedSnapshot> SelectSnapshotAsync(
	DbConnection connection,
	CancellationToken cancellationToken,
	string persistenceId,
	long maxSequenceNr,
	DateTime maxTimestamp
)

Parameters

connection
Type: System.Data.CommonDbConnection
TBD
cancellationToken
Type: System.ThreadingCancellationToken
TBD
persistenceId
Type: SystemString
TBD
maxSequenceNr
Type: SystemInt64
TBD
maxTimestamp
Type: SystemDateTime
TBD

Return Value

Type: TaskSelectedSnapshot
TBD
See Also