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