Share via


ShouldOverwriteCallbackAsync Delegate

Definition

Callback invoked to tell whether to overwrite an existing destination.

public delegate System.Threading.Tasks.Task<bool> ShouldOverwriteCallbackAsync(object source, object destination);
type ShouldOverwriteCallbackAsync = delegate of obj * obj -> Task<bool>
Public Delegate Function ShouldOverwriteCallbackAsync(source As Object, destination As Object) As Task(Of Boolean) 

Parameters

source
Object

Instance of source used to overwrite the destination.

destination
Object

Instance of destination to be overwritten.

Return Value

True if the file should be overwritten; otherwise false.

Applies to