コード例 #1
0
 private string CreateConnectionString(ServiceBusConfig config)
 {
     return($"Endpoint=sb://{config.Host}/;SharedAccessKeyName={config.Username};SharedAccessKey={config.Password}");
 }
コード例 #2
0
 public Receiver(ServiceBusConfig config)
 {
     this.config      = config;
     connectionString = CreateConnectionString(config);
 }