다음을 통해 공유


StreamingRequestHandler.ProcessRequestAsync 메서드

정의

들어오는 요청을 처리합니다.

public override System.Threading.Tasks.Task<Microsoft.Bot.Streaming.StreamingResponse> ProcessRequestAsync (Microsoft.Bot.Streaming.ReceiveRequest request, Microsoft.Extensions.Logging.ILogger<Microsoft.Bot.Streaming.RequestHandler> logger = default, object context = default, System.Threading.CancellationToken cancellationToken = default);
override this.ProcessRequestAsync : Microsoft.Bot.Streaming.ReceiveRequest * Microsoft.Extensions.Logging.ILogger<Microsoft.Bot.Streaming.RequestHandler> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Streaming.StreamingResponse>
Public Overrides Function ProcessRequestAsync (request As ReceiveRequest, Optional logger As ILogger(Of RequestHandler) = Nothing, Optional context As Object = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of StreamingResponse)

매개 변수

request
ReceiveRequest

ReceiveRequest 이 처리기가 처리할 입니다.

logger
ILogger<RequestHandler>

거.

context
Object

요청을 처리하는 선택적 컨텍스트입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

Task 성공적으로 완료될 때 를 생성하는 입니다StreamingResponse.

적용 대상