SendMessageChannelCache.AllowUnsafeCaching 属性
定义
获取或设置一个值,该值指示是否启用缓存。Gets or sets a value that indicates whether to turn caching on.
public:
property bool AllowUnsafeCaching { bool get(); void set(bool value); };
public bool AllowUnsafeCaching { get; set; }
member this.AllowUnsafeCaching : bool with get, set
Public Property AllowUnsafeCaching As Boolean
属性值
要开启缓存,则为 true;否则为 false。true to turn caching on; otherwise, false.
注解
如果工作流中的 Send 活动已在配置缓存中定义了终结点,缓存会变得不安全,因此会默认禁用缓存。If the Send activity in your workflow has endpoints defined in configuration caching could be unsecure and therefore is disabled by default. 但是,如果要启用缓存,请将此属性设置为 true 。However, if you want to turn caching on set this property to true.