2010-07-14 68 views

回答

37

您可以使用context properties例如像这样:

ThreadContext.Properties["ID"] = yourID; 

那么你就可以访问属性模式字符串是这样的:

%property{ID}