static void Main(string[] args) { Console.ForegroundColor = ConsoleColor.Red; AzureTpoic.ReceiveMessage("Topic1_2"); Console.ReadLine(); }
private void button1_Click(object sender, EventArgs e) { string messageBody = txtMessage.Text; AzureTpoic.SendMessage(messageBody); }
static void Main(string[] args) { AzureTpoic.SendMessage(); Console.ReadLine(); }
static void Main(string[] args) { AzureTpoic.ReceiveMessage(); }