WebexAdapter.ProcessAsync Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Gelen web kancasını kabul edin ve bot mantığı tarafından işlenebilen bir TurnContext web kancasına HttpRequest dönüştürün.
public System.Threading.Tasks.Task ProcessAsync (Microsoft.AspNetCore.Http.HttpRequest request, Microsoft.AspNetCore.Http.HttpResponse response, Microsoft.Bot.Builder.IBot bot, System.Threading.CancellationToken cancellationToken);
abstract member ProcessAsync : Microsoft.AspNetCore.Http.HttpRequest * Microsoft.AspNetCore.Http.HttpResponse * Microsoft.Bot.Builder.IBot * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.ProcessAsync : Microsoft.AspNetCore.Http.HttpRequest * Microsoft.AspNetCore.Http.HttpResponse * Microsoft.Bot.Builder.IBot * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ProcessAsync (request As HttpRequest, response As HttpResponse, bot As IBot, cancellationToken As CancellationToken) As Task
Parametreler
- request
- HttpRequest
Gelen HttpRequest.
- response
- HttpResponse
Bu yöntem tamamlandığında, HttpResponse gönderilecek.
- bot
- IBot
Gelen etkinliği işleyecek bot.
- cancellationToken
- CancellationToken
Görev için bir iptal belirteci.
Döndürülenler
Task Zaman uyumsuz işlemi temsil eden bir.