BotMessageHandlerBase BotMessageHandlerBase BotMessageHandlerBase Class

Definition

public abstract class BotMessageHandlerBase : System.Net.Http.HttpMessageHandler
type BotMessageHandlerBase = class
    inherit HttpMessageHandler
Public MustInherit Class BotMessageHandlerBase
Inherits HttpMessageHandler
Inheritance
BotMessageHandlerBaseBotMessageHandlerBaseBotMessageHandlerBase
Derived

Constructors

BotMessageHandlerBase(BotFrameworkAdapter) BotMessageHandlerBase(BotFrameworkAdapter)

public BotMessageHandlerBase (Microsoft.Bot.Builder.Adapters.BotFrameworkAdapter botFrameworkAdapter);
new Microsoft.Bot.Builder.Integration.AspNet.WebApi.Handlers.BotMessageHandlerBase : Microsoft.Bot.Builder.Adapters.BotFrameworkAdapter -> Microsoft.Bot.Builder.Integration.AspNet.WebApi.Handlers.BotMessageHandlerBase
Parameters

Fields

BotMessageMediaTypeFormatters BotMessageMediaTypeFormatters BotMessageMediaTypeFormatters

public static readonly System.Net.Http.Formatting.MediaTypeFormatter[] BotMessageMediaTypeFormatters;
 staticval mutable BotMessageMediaTypeFormatters : System.Net.Http.Formatting.MediaTypeFormatter[]
Public Shared ReadOnly BotMessageMediaTypeFormatters As MediaTypeFormatter() 

Methods

ProcessMessageRequestAsync(HttpRequestMessage, BotFrameworkAdapter, Func, CancellationToken) ProcessMessageRequestAsync(HttpRequestMessage, BotFrameworkAdapter, Func, CancellationToken)

protected abstract System.Threading.Tasks.Task<Microsoft.Bot.Builder.InvokeResponse> ProcessMessageRequestAsync (System.Net.Http.HttpRequestMessage request, Microsoft.Bot.Builder.Adapters.BotFrameworkAdapter botFrameworkAdapter, Func<Microsoft.Bot.Builder.ITurnContext,System.Threading.Tasks.Task> botCallbackHandler, System.Threading.CancellationToken cancellationToken);
abstract member ProcessMessageRequestAsync : System.Net.Http.HttpRequestMessage * Microsoft.Bot.Builder.Adapters.BotFrameworkAdapter * Func<Microsoft.Bot.Builder.ITurnContext, System.Threading.Tasks.Task> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.InvokeResponse>
Parameters
botCallbackHandler
Func<ITurnContext,Task>
Returns

SendAsync(HttpRequestMessage, CancellationToken) SendAsync(HttpRequestMessage, CancellationToken)

[System.Runtime.CompilerServices.AsyncStateMachine(typeof(Microsoft.Bot.Builder.Integration.AspNet.WebApi.Handlers.BotMessageHandlerBase/<SendAsync>d__3))]
protected override System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken);
override this.SendAsync : System.Net.Http.HttpRequestMessage * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
Parameters
Returns

Applies to