Click or drag to resize

ServiceResultBuilderCreateServiceResultFailed Method (Exception)

Creates a service result from an exception.

Namespace:  PDTec.IceNet.Web.Service.TicketBased
Assembly:  PDTec.IceNet.Web (in PDTec.IceNet.Web.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public static ServiceResult CreateServiceResultFailed(
	Exception ex
)

Parameters

ex
Type: SystemException
The exception.

Return Value

Type: ServiceResult
The ServiceResult instance.
Remarks
If a repository reference is available, use CreateServiceResultFailed(IDatabaseRepository, Exception) to retrieve additional information about the error.
See Also