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 | |
---|---|---|
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 | |
---|---|---|
AddLink | Adds the specified link to the set of objects the System.Data.Services.Client.DataServiceContext is tracking. | |
AddObject | Adds the specified object to the set of objects that the System.Data.Services.Client.DataServiceContext is tracking. | |
AddRelatedObject | Adds a related object to the context and creates the link that defines the relationship between the two objects in a single request. | |
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. | |
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. | |
CreateQuery<T> | Creates a data service query for data of a specified generic type. | |
DeleteLink | Changes the state of the link to deleted in the list of links being tracked by the System.Data.Services.Client.DataServiceContext. | |
DeleteObject | Changes the state of the specified object to be deleted in the System.Data.Services.Client.DataServiceContext. | |
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. | |
ExecuteAsync(Uri, Object, String) | Executes the operation asynchronously. | |
ExecuteAsync<T>(DataServiceQueryContinuation<T>, Object) | Executes the operation asynchronously. | |
ExecuteAsync<T>(Uri, Object) | Executes the operation asynchronously. | |
ExecuteBatchAsync | Executes the batch operation asynchronously. | |
GetReadStreamAsync | Gets the read stream asynchronously. | |
LoadProperty | Loads deferred content for a specified property from the data service. Not supported by the WCF Data Services 5.0 client for Silverlight. | |
LoadPropertyAsync(Object, String, Object) | Loads the property asynchronously. | |
LoadPropertyAsync(Object, String, DataServiceQueryContinuation, Object) | Loads the property asynchronously. | |
LoadPropertyAsync(Object, String, Uri, Object) | Loads the property asynchronously. | |
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. | |
SaveChangesAsync(Object) | Saves the changes asynchronously. | |
SaveChangesAsync(SaveChangesOptions, Object) | Saves the changes asynchronously. | |
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. | |
UpdateObject | Changes the state of the specified object to System.Data.Services.Client.EntityStates.Modified. |
Top