public ServiceBusMqMessageFactory(ServiceBusMqServer mqServer, string address) { this.MqServer = mqServer; this.address = address; #if !NETSTANDARD2_0 this.namespaceManager = NamespaceManager.CreateFromConnectionString(address); #endif }
public ServiceBusMqMessageFactory(ServiceBusMqServer mqServer, string address) { this.MqServer = mqServer; this.address = address; #if !NETCORE this.namespaceManager = NamespaceManager.CreateFromConnectionString(address); #else this.managementClient = new ManagementClient(address); #endif }