SendMessageChannelCache Constructor (ChannelCacheSettings, ChannelCacheSettings, Boolean)
Initializes a new instance of the SendMessageChannelCache class with custom factory cache settings, custom channel cache settings, and a value that indicates whether to turn caching on.
Assembly: System.ServiceModel.Activities (in System.ServiceModel.Activities.dll)
public SendMessageChannelCache( ChannelCacheSettings factorySettings, ChannelCacheSettings channelSettings, bool allowUnsafeCaching )
The cache settings for cached channel factories.
The cache settings for cached channels.
true to turn caching on; otherwise, false.
By default, the cache is only available for Send activities that don’t use endpoints defined in configuration. However, if you want to turn caching on in this case call this constructor with the allowUnsafeCaching parameter set to true. Next, add the new instance of this class as an extension to a workflow service host or a workflow instance.
Available since 4.0