Sys.Data.DataServiceError
Represents an error from a data service.
Namespace: Sys.Data.
Inherits: None.
Syntax
Sys.Data.DataServiceError = function(timedOut, message, stackTrace, exceptionType)
Public Constructors
Members
Remarks
When the data service throws an exception during a data operation, the DataService class creates a new instance of the DataServiceError class and stores information about the exception in that object. You use the DataServiceError class to retrieve information about the exception. You can access the DataServiceError object in the callback function for the data operation that was performed. When a single data operation is executed, the DataServiceError object is passed to callback function for failed operations. When a sequence of actions is executed, the DataServiceError object is passed in the result property of ActionResult object.
This topic is ASP.NET Extensions documentation and is unsupported by Microsoft. Blank topics are included as placeholders and existing content is subject to change in future releases.