BackupDescription Constructors
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
BackupDescription(Func<BackupInfo,CancellationToken,Task<Boolean>>) |
Initializes a new instance of the structure. |
BackupDescription(BackupOption, Func<BackupInfo,CancellationToken,Task<Boolean>>) |
Initializes a new instance of the structure. |
BackupDescription(Func<BackupInfo,CancellationToken,Task<Boolean>>)
Initializes a new instance of the structure.
public BackupDescription (Func<Microsoft.ServiceFabric.Data.BackupInfo,System.Threading.CancellationToken,System.Threading.Tasks.Task<bool>> backupCallback);
new Microsoft.ServiceFabric.Data.BackupDescription : Func<Microsoft.ServiceFabric.Data.BackupInfo, System.Threading.CancellationToken, System.Threading.Tasks.Task<bool>> -> Microsoft.ServiceFabric.Data.BackupDescription
Public Sub New (backupCallback As Func(Of BackupInfo, CancellationToken, Task(Of Boolean)))
Parameters
- backupCallback
- Func<BackupInfo,CancellationToken,Task<Boolean>>
Callback to be called when the backup folder has been created and populated locally by the system. This folder is now ready to be moved out of the node.
Applies to
BackupDescription(BackupOption, Func<BackupInfo,CancellationToken,Task<Boolean>>)
Initializes a new instance of the structure.
public BackupDescription (Microsoft.ServiceFabric.Data.BackupOption option, Func<Microsoft.ServiceFabric.Data.BackupInfo,System.Threading.CancellationToken,System.Threading.Tasks.Task<bool>> backupCallback);
new Microsoft.ServiceFabric.Data.BackupDescription : Microsoft.ServiceFabric.Data.BackupOption * Func<Microsoft.ServiceFabric.Data.BackupInfo, System.Threading.CancellationToken, System.Threading.Tasks.Task<bool>> -> Microsoft.ServiceFabric.Data.BackupDescription
Public Sub New (option As BackupOption, backupCallback As Func(Of BackupInfo, CancellationToken, Task(Of Boolean)))
Parameters
- option
- BackupOption
The for the backup.
- backupCallback
- Func<BackupInfo,CancellationToken,Task<Boolean>>
Callback to be called when the backup folder has been created locally and is ready to be moved out of the node.