你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TableHttpRequestMessageExtensions Class

Definition

Extension methods for the System.Net.Http.HttpRequestMessage class providing functionality related to table TableController<TData>.

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public static class TableHttpRequestMessageExtensions
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
type TableHttpRequestMessageExtensions = class
Public Module TableHttpRequestMessageExtensions
Inheritance
System.Object
TableHttpRequestMessageExtensions
Attributes
System.ComponentModel.EditorBrowsableAttribute

Methods

AreDeletedRowsRequested(HttpRequestMessage)

Determines whether deleted rows were requested by the client.

GetVersionFromIfMatch(HttpRequestMessage)

Gets the version of a table item from the HTTP IfMatch header. If the IfMatch contains an invalid value then an System.Web.Http.HttpResponseException is thrown containing an System.Net.Http.HttpResponseMessage with status code System.Net.HttpStatusCode.BadRequest.

SetSelectedProperties(HttpRequestMessage, Type, Boolean)

Determines the set of properties to include in the OData $select query option for types implementing the ITableData interface. ITableData has two sets of properties: regular properties and system properties. The system properties are only included if the __systemproperties query parameter is included in the Request URI. This function determines the combined set of selected properties and updates the request URI accordingly, if necessary.

SetSelectedProperties(HttpRequestMessage, Type, IDictionary<String,String>, Boolean)

Determines the set of properties to include in the OData $select query option for types implementing the ITableData interface. ITableData has two sets of properties: regular properties and system properties. The system properties are only included if the __systemproperties query parameter is included in the Request URI. This function determines the combined set of selected properties and updates the request URI accordingly, if necessary.

Applies to