C# Класс FeedbackEngine_WebJobs.Messages

Показать файл Открыть проект

Открытые методы

Метод Описание
ProcessSlackMessage ( [ m, Microsoft.Azure.WebJobs.Host.TraceWriter trace ) : System.Threading.Tasks.Task

Grabs messages from the "SlackMessage" Queue and posts them to the Slack Webhook specified in App Settings under "SLACK_CustomerNotificationsHook"

Приватные методы

Метод Описание
SendJSONtoURL ( Newtonsoft.Json.Linq.JObject json, string url, Microsoft.Azure.WebJobs.Host.TraceWriter trace ) : Task
SendSlackMessage ( Message m, Microsoft.Azure.WebJobs.Host.TraceWriter trace ) : System.Threading.Tasks.Task

Описание методов

ProcessSlackMessage() публичный Метод

Grabs messages from the "SlackMessage" Queue and posts them to the Slack Webhook specified in App Settings under "SLACK_CustomerNotificationsHook"
public ProcessSlackMessage ( [ m, Microsoft.Azure.WebJobs.Host.TraceWriter trace ) : System.Threading.Tasks.Task
m [ Message from the Queue to be posted to Slack
trace Microsoft.Azure.WebJobs.Host.TraceWriter This is used to log from the application to the Azure WebJobs Dashboard
Результат System.Threading.Tasks.Task