WebSessionHostInfoProviderGetHostInfoAsync - метод |
Пространство имён:
Tessa.Web.Services
Сборка:
Tessa.Web (в Tessa.Web.dll) Версия: 3.5.0.19
Синтаксис public Task<(string hostIP, string hostName)> GetHostInfoAsync(
CancellationToken cancellationToken = default
)
Public Function GetHostInfoAsync (
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of (hostIP As String, hostName As String))
public:
virtual Task<ValueTuple<String^, String^>>^ GetHostInfoAsync(
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract GetHostInfoAsync :
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValueTuple<string, string>>
override GetHostInfoAsync :
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValueTuple<string, string>>
Параметры
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskValueTupleString,
StringРеализации
ISessionHostInfoProviderGetHostInfoAsync(CancellationToken)См. также