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