Share via


IMediaDataServiceContext.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
Function Execute(Of TElement) ( _
    requestUri As Uri _
) As IEnumerable(Of TElement)
'Usage
Dim instance As IMediaDataServiceContext 
Dim requestUri As Uri 
Dim returnValue As IEnumerable(Of TElement)

returnValue = instance.Execute(requestUri)
IEnumerable<TElement> Execute<TElement>(
    Uri requestUri
)
generic<typename TElement>
IEnumerable<TElement>^ Execute(
    Uri^ requestUri
)
abstract 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>.

See Also

Reference

IMediaDataServiceContext Interface

Microsoft.WindowsAzure.MediaServices.Client Namespace