2010-07-16 59 views

回答

1

採取的依賴於MsmqTransport並通過InputQueue財產

+0

支持訪問你有一個例子做呢? – ThorHalvor 2010-07-16 19:06:32

+0

這段代碼正是這樣做的http://github.com/andreasohlund/NSBManager/blob/master/src/NSBManager.Instrumentation.Core/Inspectors/Transport/MsmqTransportInspector.cs – 2010-07-17 13:48:22

+0

不錯,整個NSBManager的東西看起來很有前途:) tnx – ThorHalvor 2010-07-19 13:32:27

1

您應該能夠使用ConfigurationManager的GetSection方法直接從app.config(或web.config)文件中獲取該結果,並將結果轉換爲由configSection條目。

+0

是的,這是我的「最後一次」選項,如果心不是直接爲它 – ThorHalvor 2010-07-16 19:05:32

相關問題