Class WebhookSender
Static class that provides basic functionalities to deliver webhook notifications
Inheritance
System.Object
WebhookSender
Namespace: PnP.Framework.Provisioning.ObjectHandlers
Assembly: PnP.Framework.dll
Syntax
public static class WebhookSender : object
Methods
InvokeWebhook(ProvisioningWebhookBase, HttpClient, ProvisioningTemplateWebhookKind, TokenParser, String, Exception, PnPMonitoredScope)
Public method to send a Webhook notification
Declaration
public static void InvokeWebhook(ProvisioningWebhookBase webhook, HttpClient httpClient, ProvisioningTemplateWebhookKind kind, TokenParser parser = null, string objectHandler = null, Exception exception = null, PnPMonitoredScope scope = null)
Parameters
Provisioning The reference webhook to notify |
Http The HttpClient instance to use to send the notification |
Provisioning The Kind of webhook |
Token The parser to use for parsing parameters, optional |
System. The objectHandler name, optional |
Exception
exception
The exception, optional |
Pn The PnP Provisioning Scope, if any, optional |