C# Class Sage.SData.Client.Core.AsyncRequest

Encapsulates the return value of an asychronous call to a service operation or a batch operation.
Mostra file Open project: Saleslogix/SDataCSharpClientLib

Public Methods

Method Description
AsyncRequest ( ISDataService service, string trackingUrl, Tracking tracking ) : Sage.SData.Client.Common

Initialises a new instance of the AsyncRequest class.

Refresh ( ) : ISyndicationResource

Makes a progress update request and refreshes the various progress properties. If the process has completed on the server then a ISyndicationResource result will be returned. Otherwise a null reference is returned.

Method Details

AsyncRequest() public method

Initialises a new instance of the AsyncRequest class.
public AsyncRequest ( ISDataService service, string trackingUrl, Tracking tracking ) : Sage.SData.Client.Common
service ISDataService The service that performs requests.
trackingUrl string The url used to make progress requests.
tracking Sage.SData.Client.Framework.Tracking The tracking information from the initial request.
return Sage.SData.Client.Common

Refresh() public method

Makes a progress update request and refreshes the various progress properties. If the process has completed on the server then a ISyndicationResource result will be returned. Otherwise a null reference is returned.
public Refresh ( ) : ISyndicationResource
return ISyndicationResource