DataServiceContext.BeginLoadProperty Method (Object, String, Uri, AsyncCallback, Object)
Asynchronously loads a page of related entities from the data service by using the supplied next link URI.
Namespace: System.Data.Services.Client
Assembly: System.Data.Services.Client (in System.Data.Services.Client.dll)
public IAsyncResult BeginLoadProperty( Object entity, string propertyName, Uri nextLinkUri, AsyncCallback callback, Object state )
Parameters
- entity
- Type: System.Object
The entity that contains the property to load.
- propertyName
- Type: System.String
The name of the property of the specified entity to load.
- nextLinkUri
- Type: System.Uri
The URI used to load the next results page.
- callback
- Type: System.AsyncCallback
Delegate to invoke when results are available for client consumption.
- state
- Type: System.Object
User-defined state object passed to the callback.
Return Value
Type: System.IAsyncResultAn IAsyncResult object that is used to track the status of the asynchronous operation.
When entity is in an Unchanged or Modified state, the related entities are loaded in the Unchanged state, and the links between the entities are also created in an Unchanged state.
When entity is in a Deleted state, the related entities are loaded in the Unchanged state, and the links between the entities are created in the Deleted state.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.