C# 클래스 FeedbackEngine_WebJobs.Messages

파일 보기 프로젝트 열기: christopheranderson/feedbackengine

공개 메소드들

메소드 설명
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