OperationExecuteAsync - метод |
Пространство имён:
Tessa.Extensions.Default.Console.MigrateFiles
Сборка:
Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 3.5.0.19
Синтаксис public static Task<int> ExecuteAsync(
IConsoleLogger logger,
string configurationString,
string databaseName,
int fromSourceID,
int toSourceID,
int threadCount,
bool removeFromTargetFileSource,
bool canCancel,
bool quiet,
CancellationToken cancellationToken = default
)
Public Shared Function ExecuteAsync (
logger As IConsoleLogger,
configurationString As String,
databaseName As String,
fromSourceID As Integer,
toSourceID As Integer,
threadCount As Integer,
removeFromTargetFileSource As Boolean,
canCancel As Boolean,
quiet As Boolean,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Integer)
public:
static Task<int>^ ExecuteAsync(
IConsoleLogger^ logger,
String^ configurationString,
String^ databaseName,
int fromSourceID,
int toSourceID,
int threadCount,
bool removeFromTargetFileSource,
bool canCancel,
bool quiet,
CancellationToken cancellationToken = CancellationToken()
)
static member ExecuteAsync :
logger : IConsoleLogger *
configurationString : string *
databaseName : string *
fromSourceID : int *
toSourceID : int *
threadCount : int *
removeFromTargetFileSource : bool *
canCancel : bool *
quiet : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<int>
Параметры
- logger
- Тип: Tessa.Platform.ConsoleAppsIConsoleLogger
- configurationString
- Тип: SystemString
- databaseName
- Тип: SystemString
- fromSourceID
- Тип: SystemInt32
- toSourceID
- Тип: SystemInt32
- threadCount
- Тип: SystemInt32
- removeFromTargetFileSource
- Тип: SystemBoolean
- canCancel
- Тип: SystemBoolean
- quiet
- Тип: SystemBoolean
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskInt32См. также