TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Guest User
Tech Writer
2.1k
469.6k
EventHubsConnectionStringBuilder
Sep 10 2019 4:39 AM
Hi Team
I want to pass 3 arguments that i declared them as private readonly objects.
Inside my main class method i get the error on EventHubsConnectionStringBuilder. e.g
private readonly static s_eventHubsCompatibleEndpoint = "'sb://iothb-ns.. ;
private readonly static s_eventHubsCompatiblePath ="testiothubs";
private static EventHubClient s_eventHubClient;
private static async Task Main(string[] args) {
var connectionString = new
EventHubsConnectionStringBuilder
(s_eventHubsCompatibleEndpoint, s_eventHubsCompatiblePath,
s_eventHubClient = EventHubClient.CreateFromConnectionString(
connectionString
.ToString()));
"error EventHubsConnectionStringBuilder does not contain constructor for 3 argument. What am i missing here please help. Im trying to readmessage2device.
Reply
Answers (
3
)
Has anyone ever worked with templates in Azure portal?
System.Net.Sockets.SocketException