Свойство | Тип | Описание | |
---|---|---|---|
AzureWebHookDequeueManager | System |
Метод | Описание | |
---|---|---|
AzureWebHookDequeueManager ( string connectionString, ILogger logger ) : System |
Initializes a new instance of the AzureWebHookDequeueManager using the given connectionString to identify the Microsoft Azure Storage Queue.
|
|
AzureWebHookDequeueManager ( string connectionString, ILogger logger, System.TimeSpan pollingFrequency, System.TimeSpan messageTimeout, int maxAttempts ) : System |
Initializes a new instance of the AzureWebHookDequeueManager using the given connectionString to identify the Microsoft Azure Storage Queue.
|
|
Dispose ( ) : void | ||
Start ( |
Start the event loop of requesting messages from the queue and send them out as WebHooks.
|
Метод | Описание | |
---|---|---|
DequeueAndSendWebHooks ( |
Dequeues available WebHooks and sends them out to each WebHook recipient.
|
|
Dispose ( bool disposing ) : void |
Метод | Описание | |
---|---|---|
AzureWebHookDequeueManager ( string connectionString, ILogger logger, System.TimeSpan pollingFrequency, System.TimeSpan messageTimeout, int maxAttempts, |
Intended for unit test purposes
|
public AzureWebHookDequeueManager ( string connectionString, ILogger logger ) : System | ||
connectionString | string | The Microsoft Azure Storage Queue connection string. |
logger | ILogger | The |
Результат | System |
public AzureWebHookDequeueManager ( string connectionString, ILogger logger, System.TimeSpan pollingFrequency, System.TimeSpan messageTimeout, int maxAttempts ) : System | ||
connectionString | string | The Microsoft Azure Storage Queue connection string. |
logger | ILogger | The |
pollingFrequency | System.TimeSpan | The polling frequency by which we request messages from the queue. |
messageTimeout | System.TimeSpan | The time allotted to send out the WebHooks request and get a response. If /// the request has not completed within this time frame, the message will be considered to have failed and /// it will be attempted again. |
maxAttempts | int | The maximum number of attempts to deliver the WebHook. |
Результат | System |
protected DequeueAndSendWebHooks ( |
||
cancellationToken | ||
Результат | Task |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public Start ( |
||
cancellationToken | A |
|
Результат | Task |