Beispiel #1
0
        static void Main(string[] args)
        {
            SBAdmin sbAdmin = new SBAdmin();

            Task<EventHubDescription> eventHubCreation = sbAdmin.CreateEventHubAsync();
            eventHubCreation.Wait();
            EventHubDescription eventHubDescription = eventHubCreation.Result;
            Console.WriteLine(eventHubDescription.Path);

            Console.ReadLine();
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            SBAdmin sbAdmin = new SBAdmin();

            Task <EventHubDescription> eventHubCreation = sbAdmin.CreateEventHubAsync();

            eventHubCreation.Wait();
            EventHubDescription eventHubDescription = eventHubCreation.Result;

            Console.WriteLine(eventHubDescription.Path);

            Console.ReadLine();
        }