BackupDescription Constructors

Definition

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
System.Func<BackupInfo,System.Threading.CancellationToken,System.Threading.Tasks.Task<System.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
System.Func<BackupInfo,System.Threading.CancellationToken,System.Threading.Tasks.Task<System.Boolean>>

Callback to be called when the backup folder has been created locally and is ready to be moved out of the node.

Applies to