This topic has not yet been rated - Rate this topic

DomainService.OnError Method

WCF RIA Services

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Called whenever an unrecoverable error occurs during the processing of a DomainService operation.

Namespace:  System.ServiceModel.DomainServices.Server
Assembly:  System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)
protected virtual void OnError(
	DomainServiceErrorInfo errorInfo
)

Parameters

errorInfo
Type: System.ServiceModel.DomainServices.Server.DomainServiceErrorInfo
Information about the error that occurred.

Override this method to perform exception logging, or to inspect server errors before results are sent back to the client.

Did you find this helpful?
(1500 characters remaining)