Creates an unsuccessful ReturnCode.

Namespace: RightEdge.Common
Assembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
public static ReturnCode Fail(
	ReturnCode innerFailure
)
Visual Basic
Public Shared Function Fail ( 
	innerFailure As ReturnCode
) As ReturnCode
Visual C++
public:
static ReturnCode^ Fail(
	ReturnCode^ innerFailure
)
F#
static member Fail : 
        innerFailure : ReturnCode -> ReturnCode 

Parameters

innerFailure
Type: RightEdge.Common..::..ReturnCode
The ReturnCode for an inner operation that caused the failure.

Return Value

Type: ReturnCode
An unsuccessful ReturnCode

See Also