Search Results for

    Show / Hide Table of Contents

    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
    ProvisioningWebhookBase webhook

    The reference webhook to notify

    HttpClient httpClient

    The HttpClient instance to use to send the notification

    ProvisioningTemplateWebhookKind kind

    The Kind of webhook

    TokenParser parser

    The parser to use for parsing parameters, optional

    System.String objectHandler

    The objectHandler name, optional

    Exception exception

    The exception, optional

    PnPMonitoredScope scope

    The PnP Provisioning Scope, if any, optional

    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer