示例#1
0
        public ServiceBusMqMessageFactory(ServiceBusMqServer mqServer, string address)
        {
            this.MqServer = mqServer;
            this.address  = address;
#if !NETSTANDARD2_0
            this.namespaceManager = NamespaceManager.CreateFromConnectionString(address);
#endif
        }
示例#2
0
        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
        }