Share via


MediaDataServiceContext.Execute<TElement> Method

Sends a request to the data service to execute a specific URI. Not supported by the WCF Data Services 5.0 client for Silverlight.

Namespace:  Microsoft.WindowsAzure.MediaServices.Client
Assembly:  Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)

Syntax

'Declaration
Public Function Execute(Of TElement) ( _
    requestUri As Uri _
) As IEnumerable(Of TElement)
'Usage
Dim instance As MediaDataServiceContext 
Dim requestUri As Uri 
Dim returnValue As IEnumerable(Of TElement)

returnValue = instance.Execute(requestUri)
public IEnumerable<TElement> Execute<TElement>(
    Uri requestUri
)
public:
generic<typename TElement>
virtual IEnumerable<TElement>^ Execute(
    Uri^ requestUri
) sealed
abstract Execute : 
        requestUri:Uri -> IEnumerable<'TElement> 
override Execute : 
        requestUri:Uri -> IEnumerable<'TElement> 
JScript does not support generic types and methods.

Type Parameters

  • TElement
    The type that the query returns.

Parameters

  • requestUri
    Type: System.Uri
    The URI to which the query request will be sent. The URI may be any valid data service URI. Can contain $ query parameters.

Return Value

Type: System.Collections.Generic.IEnumerable<TElement>
Returns IEnumerable<T> which contains the results of the query.

Implements

IMediaDataServiceContext.Execute<TElement>(Uri)

See Also

Reference

MediaDataServiceContext Class

Microsoft.WindowsAzure.MediaServices.Client Namespace