FacebookAdapter.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 bir web kancası isteğini kabul eder, bir dönüş bağlamı oluşturur ve gelen TRUSTED etkinliği için ara yazılım işlem hattını çalıştırır.
public System.Threading.Tasks.Task ProcessAsync (Microsoft.AspNetCore.Http.HttpRequest httpRequest, Microsoft.AspNetCore.Http.HttpResponse httpResponse, Microsoft.Bot.Builder.IBot bot, System.Threading.CancellationToken cancellationToken = default);
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 (httpRequest As HttpRequest, httpResponse As HttpResponse, bot As IBot, Optional cancellationToken As CancellationToken = Nothing) As Task
Parametreler
- httpRequest
- HttpRequest
HTTP isteğinin gelen tarafını temsil eder.
- httpResponse
- HttpResponse
HTTP isteğinin giden tarafını temsil eder.
- bot
- IBot
Bağdaştırıcının ara yazılım işlem hattının sonunda çalıştırılacak kod.
- cancellationToken
- CancellationToken
İptal bildirimini almak için diğer nesneler veya iş parçacıkları tarafından kullanılabilecek bir iptal belirteci.
Döndürülenler
Yürütülmek üzere kuyruğa alınan çalışmayı temsil eden görev.
Uygulamalar
Özel durumlar
Web kancası geçersiz imza içeren bir ileti alır.