Click or drag to resize

ServiceResultBuilderCreateServiceResultFailed Method (IDatabaseRepository, 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(
	IDatabaseRepository pRepository,
	Exception ex
)

Parameters

pRepository
Type: PDTec.IceNet.Core.DatabaseIDatabaseRepository
The repository.
ex
Type: SystemException
The exception.

Return Value

Type: ServiceResult
The ServiceResult instance.
Remarks
If a repository reference is available, use this method to retrieve additional information about the error.
See Also