共用方式為


TableQueryableExtensions.WithOptions<TElement> Method

Definition

Specifies a set of TableRequestOptions with which the query will be executed.

public static Microsoft.Azure.Cosmos.Table.TableQuery<TElement> WithOptions<TElement> (this System.Linq.IQueryable<TElement> query, Microsoft.Azure.Cosmos.Table.TableRequestOptions options);
static member WithOptions : System.Linq.IQueryable<'Element> * Microsoft.Azure.Cosmos.Table.TableRequestOptions -> Microsoft.Azure.Cosmos.Table.TableQuery<'Element>
<Extension()>
Public Function WithOptions(Of TElement) (query As IQueryable(Of TElement), options As TableRequestOptions) As TableQuery(Of TElement)

Type Parameters

TElement

The entity type of the query.

Parameters

query
IQueryable<TElement>

A query that implements IQueryable<T>.

options
TableRequestOptions

A TableRequestOptions object that specifies additional options for the request.

Returns

A TableQuery object with the specified request options set.

Exceptions

Applies to