Language

MessageExtension Class

Definition

MessageExtensions class to enable fluent style registration of handlers related to Message Extensions.

public class MessageExtension
type MessageExtension = class
Public Class MessageExtension
Inheritance
MessageExtension

Methods

Name Description
OnAnonymousQueryLink(QueryLinkHandler, String[], UInt16)

Registers a handler that implements the logic to handle anonymous link unfurling.

OnCardButtonClicked<TData>(CardButtonClickedHandler<TData>, String[], UInt16)

Registers a handler that implements the logic when a user has clicked on a button in a Message Extension card.

OnFetchAction(Regex, FetchActionHandler, String[], UInt16)

Registers a handler to process the initial fetch task for an Action based message extension.

OnFetchAction(String, FetchActionHandler, String[], UInt16)

Registers a handler to process the initial fetch task for an Action based message extension.

OnMessagePreviewEdit(Regex, MessagePreviewEditHandler, String[], UInt16)

Registers a handler to process the 'edit' action of a message that's being previewed by the user prior to sending.

OnMessagePreviewEdit(String, MessagePreviewEditHandler, String[], UInt16)

Registers a handler to process the 'edit' action of a message that's being previewed by the user prior to sending.

OnMessagePreviewSend(Regex, MessagePreviewSendHandler, String[], UInt16)

Registers a handler to process the 'send' action of a message that's being previewed by the user prior to sending.

OnMessagePreviewSend(String, MessagePreviewSendHandler, String[], UInt16)

Registers a handler to process the 'send' action of a message that's being previewed by the user prior to sending.

OnQuery(Regex, QueryHandler, String[], UInt16)

Registers a handler that implements a Search based Message Extension.

OnQuery(String, QueryHandler, String[], UInt16)

Registers a handler that implements a Search based Message Extension.

OnQueryLink(QueryLinkHandler, String[], UInt16)

Registers a handler that implements a Link Unfurling based Message Extension.

OnQuerySettingUrl(QuerySettingUrlHandler, String[], UInt16)

Registers a handler that invokes the fetch of the configuration settings for a Message Extension.

OnSelectItem<TData>(SelectItemHandler<TData>, String[], UInt16)

Registers a handler that implements the logic to handle the tap actions for items returned by a Search based message extension.

OnSetting(SettingHandler, String[], UInt16)

Registers a handler that processes the configure settings event for a Message Extension.

OnSubmitAction(Regex, SubmitActionHandler, String[], UInt16)

Registers a handler that implements the submit action for an Action based Message Extension.

OnSubmitAction(String, SubmitActionHandler, String[], UInt16)

Registers a handler that implements the submit action for an Action based Message Extension.

Applies to