Share via


MediaDataServiceContext.AttachTo Method (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.

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

Syntax

'Declaration
Public Sub AttachTo ( _
    entitySetName As String, _
    entity As Object, _
    etag As String _
)
'Usage
Dim instance As MediaDataServiceContext 
Dim entitySetName As String 
Dim entity As Object 
Dim etag As String

instance.AttachTo(entitySetName, entity, _
    etag)
public void AttachTo(
    string entitySetName,
    Object entity,
    string etag
)
public:
virtual void AttachTo(
    String^ entitySetName, 
    Object^ entity, 
    String^ etag
) sealed
abstract AttachTo : 
        entitySetName:string * 
        entity:Object * 
        etag:string -> unit  
override AttachTo : 
        entitySetName:string * 
        entity:Object * 
        etag:string -> unit
public final function AttachTo(
    entitySetName : String, 
    entity : Object, 
    etag : String
)

Parameters

  • entitySetName
    Type: System.String
    The string value that contains the name of the entity set to which to the entity is attached.
  • etag
    Type: System.String
    An etag value that represents the state of the entity the last time it was retrieved from the data service. This value is treated as an opaque string; no validation is performed on it by the client library.

Implements

IMediaDataServiceContext.AttachTo(String, Object, String)

See Also

Reference

MediaDataServiceContext Class

AttachTo Overload

Microsoft.WindowsAzure.MediaServices.Client Namespace