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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET