MediaDataServiceContext Class
Wraps DataServiceContext.
Inheritance Hierarchy
System.Object
Microsoft.WindowsAzure.MediaServices.Client.MediaDataServiceContext
Namespace: Microsoft.WindowsAzure.MediaServices.Client
Assembly: Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)
Syntax
'Declaration
Public Class MediaDataServiceContext _
Implements IMediaDataServiceContext
'Usage
Dim instance As MediaDataServiceContext
public class MediaDataServiceContext : IMediaDataServiceContext
public ref class MediaDataServiceContext : IMediaDataServiceContext
type MediaDataServiceContext =
class
interface IMediaDataServiceContext
end
public class MediaDataServiceContext implements IMediaDataServiceContext
The MediaDataServiceContext type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MediaDataServiceContext | Initializes a new instance of the MediaDataServiceContext class. |
Top
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. | |
Equals | (Inherited from Object.) | |
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. | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetReadStreamAsync | Gets the read stream asynchronously. | |
GetType | (Inherited from Object.) | |
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. | |
MemberwiseClone | (Inherited from Object.) | |
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. | |
ToString | (Inherited from Object.) | |
UpdateObject | Changes the state of the specified object to System.Data.Services.Client.EntityStates.Modified. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.