Ejemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="fullyQualifiedNamespace"></param>
 /// <param name="credential"></param>
 /// <param name="options"></param>
 public ServiceBusClient(string fullyQualifiedNamespace, TokenCredential credential, ServiceBusClientOptions options)
 {
     Identifier = DiagnosticUtilities.GenerateIdentifier(fullyQualifiedNamespace);
     Connection = new ServiceBusConnection(
         fullyQualifiedNamespace,
         credential,
         options);
     SubscriptionRuleManager = new ServiceBusSubscriptionRuleManager();
 }
Ejemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="connectionString"></param>
 /// <param name="options"></param>
 public ServiceBusClient(string connectionString, ServiceBusClientOptions options)
 {
     Connection = new ServiceBusConnection(connectionString, options);
     Identifier = DiagnosticUtilities.GenerateIdentifier(Connection.FullyQualifiedNamespace);
     SubscriptionRuleManager = new ServiceBusSubscriptionRuleManager();
 }