2010-07-14 67 views

回答

37

您可以使用context properties例如像這樣:

ThreadContext.Properties["ID"] = yourID; 

那麼你就可以訪問屬性模式字符串是這樣的:

%property{ID}