コード例 #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();
 }
コード例 #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();
 }