|
14 | 14 | <Docs>
|
15 | 15 | <summary>The <see cref="T:System.Data.Services.IDataServiceConfiguration" /> is used by WCF Data Services to set up the behavior of the service, including rights on entity sets and service operations, limits on the allowed requests, registering types not discoverable by default, and the default verbosity on error handling.</summary>
|
16 | 16 | <remarks>
|
17 |
| - <format type="text/markdown"><![CDATA[ |
18 |
| - |
19 |
| -## Remarks |
20 |
| - This type is used by <xref:System.Data.Services.DataService%601> classes to configure the service by implementing a static method named InitializeService, returning void, and taking a single argument of type <xref:System.Data.Services.IDataServiceConfiguration>. The configuration object may only be used during the call to service initialization. |
21 |
| - |
| 17 | + <format type="text/markdown"><![CDATA[ |
| 18 | +
|
| 19 | +## Remarks |
| 20 | + This type is used by <xref:System.Data.Services.DataService%601> classes to configure the service by implementing a static method named InitializeService, returning void, and taking a single argument of type <xref:System.Data.Services.IDataServiceConfiguration>. The configuration object may only be used during the call to service initialization. |
| 21 | +
|
22 | 22 | ]]></format>
|
23 | 23 | </remarks>
|
24 | 24 | </Docs>
|
|
84 | 84 | <ReturnType>System.Int32</ReturnType>
|
85 | 85 | </ReturnValue>
|
86 | 86 | <Docs>
|
87 |
| - <summary>Gets or sets the maximum number of segments that can be expanded by the $expand query option for all requests to the data service.</summary> |
| 87 | + <summary>Gets or sets the maximum number of segments that can be expanded by the <see langword="$expand" /> query option for all requests to the data service.</summary> |
88 | 88 | <value>The maximum number of segments to expand.</value>
|
89 | 89 | <remarks>
|
90 |
| - <format type="text/markdown"><![CDATA[ |
91 |
| - |
92 |
| -## Remarks |
93 |
| - If the limit is exceeded, a 400 Bad Request status code is returned. The value specified must be between 0 and `int.MaxValue`; otherwise, an `ArgumentOutOfRangeException` is thrown. |
94 |
| - |
95 |
| - The following query string sample has two segments: |
96 |
| - |
| 90 | + <format type="text/markdown"><![CDATA[ |
| 91 | +
|
| 92 | +## Remarks |
| 93 | + If the limit is exceeded, a 400 Bad Request status code is returned. The value specified must be between 0 and `int.MaxValue`; otherwise, an `ArgumentOutOfRangeException` is thrown. |
| 94 | +
|
| 95 | + The following query string sample has two segments: |
| 96 | +
|
97 | 97 | ]]></format>
|
98 | 98 | </remarks>
|
99 | 99 | </Docs>
|
|
118 | 118 | <summary>Gets or sets a maximum number of segments supported in a single <c>$expand</c> path for all requests to the data service.</summary>
|
119 | 119 | <value>Integer representing the maximum number of supported segments in <c>$expand</c> path.</value>
|
120 | 120 | <remarks>
|
121 |
| - <format type="text/markdown"><![CDATA[ |
122 |
| - |
123 |
| -## Remarks |
124 |
| - If the limit is exceeded, a 400 Bad Request status code is returned. The value specified must be between 0 and `int.MaxValue`; otherwise, an `ArgumentOutOfRangeException` is thrown. |
125 |
| - |
126 |
| - The following query string sample has two segments in the first `$expand` path and one in the second `$expand` path: |
127 |
| - |
| 121 | + <format type="text/markdown"><![CDATA[ |
| 122 | +
|
| 123 | +## Remarks |
| 124 | + If the limit is exceeded, a 400 Bad Request status code is returned. The value specified must be between 0 and `int.MaxValue`; otherwise, an `ArgumentOutOfRangeException` is thrown. |
| 125 | +
|
| 126 | + The following query string sample has two segments in the first `$expand` path and one in the second `$expand` path: |
| 127 | +
|
128 | 128 | ]]></format>
|
129 | 129 | </remarks>
|
130 | 130 | </Docs>
|
|
223 | 223 | <param name="rights">The rights allowed for the entity set.</param>
|
224 | 224 | <summary>Sets the access rules for the specified entity set.</summary>
|
225 | 225 | <remarks>
|
226 |
| - <format type="text/markdown"><![CDATA[ |
227 |
| - |
228 |
| -## Remarks |
229 |
| - The default configuration is to deny access to resources. When a service is initialized the access rights must be enabled. |
230 |
| - |
| 226 | + <format type="text/markdown"><![CDATA[ |
| 227 | +
|
| 228 | +## Remarks |
| 229 | + The default configuration is to deny access to resources. When a service is initialized the access rights must be enabled. |
| 230 | +
|
231 | 231 | ]]></format>
|
232 | 232 | </remarks>
|
233 | 233 | </Docs>
|
|
257 | 257 | <param name="rights">The rights allowed according to <see cref="T:System.Data.Services.ServiceOperationRights" /> enumeration.</param>
|
258 | 258 | <summary>Sets the access rules for the specified service operation.</summary>
|
259 | 259 | <remarks>
|
260 |
| - <format type="text/markdown"><![CDATA[ |
261 |
| - |
262 |
| -## Remarks |
263 |
| - The default configuration is to deny access to resources. When a service is initialized, the access rights must be enabled. |
264 |
| - |
| 260 | + <format type="text/markdown"><![CDATA[ |
| 261 | +
|
| 262 | +## Remarks |
| 263 | + The default configuration is to deny access to resources. When a service is initialized, the access rights must be enabled. |
| 264 | +
|
265 | 265 | ]]></format>
|
266 | 266 | </remarks>
|
267 | 267 | </Docs>
|
|
286 | 286 | <summary>Gets or sets whether verbose errors are used by default for all responses from the data service.</summary>
|
287 | 287 | <value>A Boolean value that indicates whether verbose errors are returned.</value>
|
288 | 288 | <remarks>
|
289 |
| - <format type="text/markdown"><![CDATA[ |
290 |
| - |
291 |
| -## Remarks |
292 |
| - The response from a specified request can be overridden by the data service developer by overriding the `HandleException` method. Verbose errors should only be enabled during development, not in production environments, for security reasons. |
293 |
| - |
| 289 | + <format type="text/markdown"><![CDATA[ |
| 290 | +
|
| 291 | +## Remarks |
| 292 | + The response from a specified request can be overridden by the data service developer by overriding the `HandleException` method. Verbose errors should only be enabled during development, not in production environments, for security reasons. |
| 293 | +
|
294 | 294 | ]]></format>
|
295 | 295 | </remarks>
|
296 | 296 | </Docs>
|
|
0 commit comments