C# Class Microsoft.AspNet.WebHooks.WebHookQueueContext

Provides a queue context used by WebHookQueueHandler to enqueue a WebHook for subsequent processing.
Show file Open project: aspnet/WebHooks Class Usage Examples

Public Methods

Method Description
WebHookQueueContext ( ) : System

Initializes a new instance of the WebHookQueueContext with default values.

WebHookQueueContext ( string receiver, WebHookHandlerContext context ) : System

Initializes a new instance of the WebHookQueueContext with the given context.

Method Details

WebHookQueueContext() public method

Initializes a new instance of the WebHookQueueContext with default values.
public WebHookQueueContext ( ) : System
return System

WebHookQueueContext() public method

Initializes a new instance of the WebHookQueueContext with the given context.
public WebHookQueueContext ( string receiver, WebHookHandlerContext context ) : System
receiver string The name of the which processed the incoming WebHook. The /// receiver can for example be dropbox or github.
context WebHookHandlerContext The instance for this WebHook.
return System