ExchangeServiceHelperCreateExchangeServiceAsync - метод |
Пространство имён:
Tessa.Extensions.Default.Chronos.Notices
Сборка:
Tessa.Extensions.Default.Chronos (в Tessa.Extensions.Default.Chronos.dll) Версия: 3.5.0.19
Синтаксис public static ValueTask<ExchangeService> CreateExchangeServiceAsync(
ExchangeServiceSettings settings,
CancellationToken cancellationToken = default
)
Public Shared Function CreateExchangeServiceAsync (
settings As ExchangeServiceSettings,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of ExchangeService)
public:
static ValueTask<ExchangeService^> CreateExchangeServiceAsync(
ExchangeServiceSettings^ settings,
CancellationToken cancellationToken = CancellationToken()
)
static member CreateExchangeServiceAsync :
settings : ExchangeServiceSettings *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<ExchangeService>
Параметры
- settings
- Тип: Tessa.Extensions.Default.Chronos.NoticesExchangeServiceSettings
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
ValueTaskExchangeServiceСм. также