XmlPackageBinderBindAsync - метод |
Заполняет пакет приложения
Пространство имён:
Tessa.Applications.Package
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис public Task BindAsync(
ApplicationPackage package,
IValidationResultBuilder validationResultBuilder,
CancellationToken cancellationToken = default
)
Public Function BindAsync (
package As ApplicationPackage,
validationResultBuilder As IValidationResultBuilder,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
virtual Task^ BindAsync(
ApplicationPackage^ package,
IValidationResultBuilder^ validationResultBuilder,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract BindAsync :
package : ApplicationPackage *
validationResultBuilder : IValidationResultBuilder *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
override BindAsync :
package : ApplicationPackage *
validationResultBuilder : IValidationResultBuilder *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
Параметры
- package
- Тип: Tessa.Applications.PackageApplicationPackage
Пакет приложения
- validationResultBuilder
- Тип: Tessa.Platform.ValidationIValidationResultBuilder
Построитель результатов валидации - cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Объект, посредством которого можно отменить асинхронную задачу.
Возвращаемое значение
Тип:
TaskАсинхронная задача.
Реализации
IApplicationPackageBinderBindAsync(ApplicationPackage, IValidationResultBuilder, CancellationToken)См. также