IMediaDataServiceContext Interface

The MediaDataServiceContext implements this interface.

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

Syntax

'Declaration
Public Interface IMediaDataServiceContext
'Usage
Dim instance As IMediaDataServiceContext
public interface IMediaDataServiceContext
public interface class IMediaDataServiceContext
type IMediaDataServiceContext =  interface end
public interface IMediaDataServiceContext

The IMediaDataServiceContext type exposes the following members.

Properties

  Name Description
Public property IgnoreResourceNotFoundException Gets or sets whether an exception is raised when a 404 error (resource not found) is returned by the data service.

Top

Methods

  Name Description
Public method AddLink Adds the specified link to the set of objects the System.Data.Services.Client.DataServiceContext is tracking.
Public method AddObject Adds the specified object to the set of objects that the System.Data.Services.Client.DataServiceContext is tracking.
Public method AddRelatedObject Adds a related object to the context and creates the link that defines the relationship between the two objects in a single request.
Public method AttachTo(String, Object) Notifies the System.Data.Services.Client.DataServiceContext to start tracking the specified resource and supplies the location of the resource in the specified resource set.
Public method AttachTo(String, Object, String) Notifies the System.Data.Services.Client.DataServiceContext to start tracking the specified resource and supplies the location of the resource in the specified resource set.
Public method CreateQuery<T> Creates a data service query for data of a specified generic type.
Public method DeleteLink Changes the state of the link to deleted in the list of links being tracked by the System.Data.Services.Client.DataServiceContext.
Public method DeleteObject Changes the state of the specified object to be deleted in the System.Data.Services.Client.DataServiceContext.
Public method Execute<TElement> Sends a request to the data service to execute a specific URI. Not supported by the WCF Data Services 5.0 client for Silverlight.
Public method ExecuteAsync(Uri, Object, String) Executes the operation asynchronously.
Public method ExecuteAsync<T>(DataServiceQueryContinuation<T>, Object) Executes the operation asynchronously.
Public method ExecuteAsync<T>(Uri, Object) Executes the operation asynchronously.
Public method ExecuteBatchAsync Executes the batch operation asynchronously.
Public method GetReadStreamAsync Gets the read stream asynchronously.
Public method LoadProperty Loads deferred content for a specified property from the data service. Not supported by the WCF Data Services 5.0 client for Silverlight.
Public method LoadPropertyAsync(Object, String, Object) Loads the property asynchronously.
Public method LoadPropertyAsync(Object, String, DataServiceQueryContinuation, Object) Loads the property asynchronously.
Public method LoadPropertyAsync(Object, String, Uri, Object) Loads the property asynchronously.
Public method SaveChanges Saves the changes that the System.Data.Services.Client.DataServiceContext is tracking to storage. Not supported by the WCF Data Services 5.0 client for Silverlight.
Public method SaveChangesAsync(Object) Saves the changes asynchronously.
Public method SaveChangesAsync(SaveChangesOptions, Object) Saves the changes asynchronously.
Public method SetLink Notifies the System.Data.Services.Client.DataServiceContext that a new link exists between the objects specified and that the link is represented by the property specified by the sourceProperty parameter.
Public method UpdateObject Changes the state of the specified object to System.Data.Services.Client.EntityStates.Modified.

Top

See Also

Reference

Microsoft.WindowsAzure.MediaServices.Client Namespace