共用方式為


WebHookContext Class

Definition

A class providing execution context for a WebHook function invocations.

public class WebHookContext
type WebHookContext = class
Public Class WebHookContext
Inheritance
WebHookContext

Constructors

WebHookContext(HttpRequestMessage)

Constructs a new instance.

Properties

Request

The HttpRequestMessage that triggered the WebHook invocation.

Response

The optional HttpResponseMessage to return from the WebHook invocation. When not set by the function, a response will be automatically generated and returned based on the success/failure of the function.

Applies to