Click or drag to resize

FaultExtractPossibleErrorCode Method

Extract a possible ErrorCodeEnum value from the exception. The are 5 possible generic exception types where the exception is derived from FaultExceptionTDetail and the TDetail contains an error code field and they are: FaultExceptionTDetailFaultExceptionTDetailFaultExceptionTDetailFaultExceptionTDetailFaultExceptionTDetail If the exception is not derived from one the above listed types then Error is returned.

Namespace:  Tse.EasyBook.Server.DataContracts.Faults
Assembly:  Tse.EasyBook.Server.DataContracts (in Tse.EasyBook.Server.DataContracts.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static string ExtractPossibleErrorCode(
	Exception ex
)

Parameters

ex
Type: SystemException

[Missing <param name="ex"/> documentation for "M:Tse.EasyBook.Server.DataContracts.Faults.Fault.ExtractPossibleErrorCode(System.Exception)"]

Return Value

Type: String

[Missing <returns> documentation for "M:Tse.EasyBook.Server.DataContracts.Faults.Fault.ExtractPossibleErrorCode(System.Exception)"]

See Also