VolatileActorStateProvider.IStateProviderReplica.RestoreAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
IStateProviderReplica.RestoreAsync(String)
System.Threading.Tasks.Task IStateProviderReplica.RestoreAsync (string backupFolderPath);
abstract member Microsoft.ServiceFabric.Data.IStateProviderReplica.RestoreAsync : string -> System.Threading.Tasks.Task
override this.Microsoft.ServiceFabric.Data.IStateProviderReplica.RestoreAsync : string -> System.Threading.Tasks.Task
Function RestoreAsync (backupFolderPath As String) As Task Implements IStateProviderReplica.RestoreAsync
Parameters
- backupFolderPath
- String
The directory where the replica is to be restored from.
Returns
Task that represents the asynchronous restore operation.
Implements
Remarks
Backup/restore is not supported by VolatileActorStateProvider.
Applies to
IStateProviderReplica.RestoreAsync(String, RestorePolicy, CancellationToken)
System.Threading.Tasks.Task IStateProviderReplica.RestoreAsync (string backupFolderPath, Microsoft.ServiceFabric.Data.RestorePolicy restorePolicy, System.Threading.CancellationToken cancellationToken);
abstract member Microsoft.ServiceFabric.Data.IStateProviderReplica.RestoreAsync : string * Microsoft.ServiceFabric.Data.RestorePolicy * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.Microsoft.ServiceFabric.Data.IStateProviderReplica.RestoreAsync : string * Microsoft.ServiceFabric.Data.RestorePolicy * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Function RestoreAsync (backupFolderPath As String, restorePolicy As RestorePolicy, cancellationToken As CancellationToken) As Task Implements IStateProviderReplica.RestoreAsync
Parameters
- backupFolderPath
- String
The directory where the replica is to be restored from.
- restorePolicy
- RestorePolicy
The restore policy.
- cancellationToken
- CancellationToken
The token to monitor for cancellation requests.
Returns
Task that represents the asynchronous restore operation.
Implements
Remarks
Backup/restore is not supported by VolatileActorStateProvider.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET