Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the AdoNetActionResult class.
Sys.Data.AdoNetActionResult = function(result, httpHeaders, actionContext, operation)
Usage
var a = new Sys.Data.AdoNetActionResult(result, httpHeaders, actionContext, operation);
Arguments
Arguments |
Definition |
|---|---|
result |
A JavaScript object that contains the outcome of a successful data operation. |
httpHeaders |
A dictionary of HTTP headers associated with the entry for this action in a batch response. |
actionContext |
The state object for the data operation. |
operation |
A description of the data operation that was performed. |
Remarks
The Sys.Data.AdoNetActionSequence class creates a new instance of the AdoNetActionResult class for each operation that is performed in the sequence of operations. If the data service successfully completes the operation, the result parameter contains the outcome and the error parameter contains null. If the data service throws an exception, the error parameter contains the exception and the result parameter contains null.