你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IStateProviderReplica2.OnRestoreCompletedAsync 属性

定义

对副本 (replica) 执行还原后调用的函数。

public Func<System.Threading.CancellationToken,System.Threading.Tasks.Task> OnRestoreCompletedAsync { set; }
member this.OnRestoreCompletedAsync : Func<System.Threading.CancellationToken, System.Threading.Tasks.Task>
Public Property OnRestoreCompletedAsync As Func(Of CancellationToken, Task)

属性值

框架成功还原副本 (replica) 状态时调用的函数

适用于