Publishing messages

Once users are subscribed to the topic, the publisher can publish messages to the topic which are automatically distributed to all the subscribers of that topic.

A message can be published by invoking the Publish() function of the SNS client class. The function accepts the message string, message subject, and the ARN of the topic:

sns_object.Publish(new PublishRequest
{
Subject = "Test",
Message = "Testing testing 1 2 3",
TopicArn = Topic_Arn_id
});
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.188.121.206