标签:style blog http io color for sp div on
Configuration config = ConfigurationManager.OpenExeConfiguration (ConfigurationUserLevel.None); ServiceModelSectionGroup group=ServiceModelSectionGroup.GetSectionGroup(config); foreach(ChannelEndpointElement endPoint in group.Client.Endpoints ) { if (endPoint.Binding == "netMsmqBinding") { string queuename = GetQueueFromUri(endPoint.Address); if (MessageQueue.Exists(queuename) == false) { MessageQueue queue = new MessageQueue(queuename); queue.Purge(); } } }
标签:style blog http io color for sp div on
原文地址:http://www.cnblogs.com/running-mydream/p/4059072.html