|
20 | 20 | <Docs> |
21 | 21 | <summary>Represents an extension that enables the customization of the cache sharing levels, the settings of the channel factory cache, and the settings of the channel cache for workflows that send messages to service endpoints using <see cref="T:System.ServiceModel.Activities.Send" /> messaging activities.</summary> |
22 | 22 | <remarks> |
23 | | - <format type="text/markdown"><. |
31 | | - |
32 | | - |
33 | | - |
34 | | -## Examples |
35 | | - The following example shows how to use the <xref:System.ServiceModel.Activities.SendMessageChannelCache> class to share a channel cache between two workflow applications in a single app domain. |
36 | | - |
37 | | - :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/channelcache/cs/client.cs" id="Snippet0"::: |
38 | | - |
| 23 | + <format type="text/markdown"><. |
| 31 | +
|
| 32 | +
|
| 33 | +
|
| 34 | +## Examples |
| 35 | + The following example shows how to use the <xref:System.ServiceModel.Activities.SendMessageChannelCache> class to share a channel cache between two workflow applications in a single app domain. |
| 36 | +
|
| 37 | + :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/channelcache/cs/client.cs" id="Snippet0"::: |
| 38 | +
|
39 | 39 | ]]></format> |
40 | 40 | </remarks> |
41 | 41 | </Docs> |
|
99 | 99 | <param name="channelSettings">The cache settings for cached channels.</param> |
100 | 100 | <summary>Initializes a new instance of the <see cref="T:System.ServiceModel.Activities.SendMessageChannelCache" /> class with custom factory cache and channel cache settings.</summary> |
101 | 101 | <remarks> |
102 | | - <format type="text/markdown"><![CDATA[ |
103 | | - |
104 | | -## Remarks |
105 | | - For more information about channel factories, see <xref:System.ServiceModel.ChannelFactory> and <xref:System.ServiceModel.ChannelFactory%601>. |
106 | | - |
107 | | - You can choose to use only the channel factory cache and disable the channel cache by passing the `channelSettings` parameter to this constructor initialized to a <xref:System.ServiceModel.Activities.ChannelCacheSettings> instance with a <xref:System.ServiceModel.Activities.ChannelCacheSettings.MaxItemsInCache> value of 0. To disable the cache completely for both the channel factory cache and the channel cache, pass the `factorySettings` parameter to this constructor initialized to a <xref:System.ServiceModel.Activities.ChannelCacheSettings> instance with a <xref:System.ServiceModel.Activities.ChannelCacheSettings.MaxItemsInCache> value of 0. Note that you cannot turn the channel cache on if the channel factory cache is disabled. |
108 | | - |
109 | | - |
110 | | - |
111 | | -## Examples |
112 | | - The following example shows how to use the <xref:System.ServiceModel.Activities.SendMessageChannelCache> class to share a channel cache between two workflow applications in a single app domain. |
113 | | - |
114 | | - :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/channelcache/cs/client.cs" id="Snippet0"::: |
115 | | - |
| 102 | + <format type="text/markdown"><![CDATA[ |
| 103 | +
|
| 104 | +## Remarks |
| 105 | + For more information about channel factories, see <xref:System.ServiceModel.ChannelFactory> and <xref:System.ServiceModel.ChannelFactory`1>. |
| 106 | +
|
| 107 | + You can choose to use only the channel factory cache and disable the channel cache by passing the `channelSettings` parameter to this constructor initialized to a <xref:System.ServiceModel.Activities.ChannelCacheSettings> instance with a <xref:System.ServiceModel.Activities.ChannelCacheSettings.MaxItemsInCache> value of 0. To disable the cache completely for both the channel factory cache and the channel cache, pass the `factorySettings` parameter to this constructor initialized to a <xref:System.ServiceModel.Activities.ChannelCacheSettings> instance with a <xref:System.ServiceModel.Activities.ChannelCacheSettings.MaxItemsInCache> value of 0. Note that you cannot turn the channel cache on if the channel factory cache is disabled. |
| 108 | +
|
| 109 | +
|
| 110 | +
|
| 111 | +## Examples |
| 112 | + The following example shows how to use the <xref:System.ServiceModel.Activities.SendMessageChannelCache> class to share a channel cache between two workflow applications in a single app domain. |
| 113 | +
|
| 114 | + :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/channelcache/cs/client.cs" id="Snippet0"::: |
| 115 | +
|
116 | 116 | ]]></format> |
117 | 117 | </remarks> |
118 | 118 | </Docs> |
|
141 | 141 | <see langword="true" /> to turn caching on; otherwise, <see langword="false" />.</param> |
142 | 142 | <summary>Initializes a new instance of the <see cref="T:System.ServiceModel.Activities.SendMessageChannelCache" /> class with custom factory cache settings, custom channel cache settings, and a value that indicates whether to turn caching on.</summary> |
143 | 143 | <remarks> |
144 | | - <format type="text/markdown"><![CDATA[ |
145 | | - |
146 | | -## Remarks |
147 | | - By default, the cache is only available for <xref:System.ServiceModel.Activities.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. |
148 | | - |
149 | | - For more information about channel factories, see <xref:System.ServiceModel.ChannelFactory> and <xref:System.ServiceModel.ChannelFactory%601>. |
150 | | - |
| 144 | + <format type="text/markdown"><![CDATA[ |
| 145 | +
|
| 146 | +## Remarks |
| 147 | + By default, the cache is only available for <xref:System.ServiceModel.Activities.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. |
| 148 | +
|
| 149 | + For more information about channel factories, see <xref:System.ServiceModel.ChannelFactory> and <xref:System.ServiceModel.ChannelFactory`1>. |
| 150 | +
|
151 | 151 | ]]></format> |
152 | 152 | </remarks> |
153 | 153 | </Docs> |
|
178 | 178 | <value> |
179 | 179 | <see langword="true" /> to turn caching on; otherwise, <see langword="false" />.</value> |
180 | 180 | <remarks> |
181 | | - <format type="text/markdown"><![CDATA[ |
182 | | - |
183 | | -## Remarks |
184 | | - If the <xref:System.ServiceModel.Activities.Send> activity in your workflow has endpoints defined in configuration caching could be unsecure and therefore is disabled by default. However, if you want to turn caching on set this property to `true`. |
185 | | - |
| 181 | + <format type="text/markdown"><![CDATA[ |
| 182 | +
|
| 183 | +## Remarks |
| 184 | + If the <xref:System.ServiceModel.Activities.Send> activity in your workflow has endpoints defined in configuration caching could be unsecure and therefore is disabled by default. However, if you want to turn caching on set this property to `true`. |
| 185 | +
|
186 | 186 | ]]></format> |
187 | 187 | </remarks> |
188 | 188 | </Docs> |
|
263 | 263 | <summary>Gets or sets the settings of the channel factory cache.</summary> |
264 | 264 | <value>The settings of the channel factory cache.</value> |
265 | 265 | <remarks> |
266 | | - <format type="text/markdown"><![CDATA[ |
267 | | - |
268 | | -## Remarks |
269 | | - The channel factory cache represents cached channel factories. For more information about channel factories, see <xref:System.ServiceModel.ChannelFactory> and <xref:System.ServiceModel.ChannelFactory%601>. |
270 | | - |
| 266 | + <format type="text/markdown"><![CDATA[ |
| 267 | +
|
| 268 | +## Remarks |
| 269 | + The channel factory cache represents cached channel factories. For more information about channel factories, see <xref:System.ServiceModel.ChannelFactory> and <xref:System.ServiceModel.ChannelFactory`1>. |
| 270 | +
|
271 | 271 | ]]></format> |
272 | 272 | </remarks> |
273 | 273 | </Docs> |
|
0 commit comments