C# Class HA4IoT.ExternalServices.AzureCloud.QueueSender

Exibir arquivo Open project: chkr1011/CK.HomeAutomation Class Usage Examples

Public Methods

Method Description
QueueSender ( string namespaceName, string queueName, string authorization ) : System
SendAsync ( Newtonsoft.Json.Linq.JObject brokerProperties, Newtonsoft.Json.Linq.JObject body ) : System.Threading.Tasks.Task

Private Methods

Method Description
CreateContent ( Newtonsoft.Json.Linq.JObject body ) : HttpStringContent
CreateHttpClient ( ) : HttpClient
SendToAzureQueueAsync ( Newtonsoft.Json.Linq.JObject brokerProperties, Newtonsoft.Json.Linq.JObject body ) : System.Threading.Tasks.Task

Method Details

QueueSender() public method

public QueueSender ( string namespaceName, string queueName, string authorization ) : System
namespaceName string
queueName string
authorization string
return System

SendAsync() public method

public SendAsync ( Newtonsoft.Json.Linq.JObject brokerProperties, Newtonsoft.Json.Linq.JObject body ) : System.Threading.Tasks.Task
brokerProperties Newtonsoft.Json.Linq.JObject
body Newtonsoft.Json.Linq.JObject
return System.Threading.Tasks.Task