TableQueryableExtensions.WithContext<TElement> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies an OperationContext for the query.
public static Microsoft.Azure.Cosmos.Table.TableQuery<TElement> WithContext<TElement> (this System.Linq.IQueryable<TElement> query, Microsoft.Azure.Cosmos.Table.OperationContext operationContext);
static member WithContext : System.Linq.IQueryable<'Element> * Microsoft.Azure.Cosmos.Table.OperationContext -> Microsoft.Azure.Cosmos.Table.TableQuery<'Element>
<Extension()>
Public Function WithContext(Of TElement) (query As IQueryable(Of TElement), operationContext As OperationContext) As TableQuery(Of TElement)
Type Parameters
- TElement
The entity type of the query.
Parameters
- query
- IQueryable<TElement>
A query that implements IQueryable<T>.
- operationContext
- OperationContext
An OperationContext object that represents the context for the current operation.
Returns
A TableQuery object with the specified operation context.
Exceptions
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.