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(
	string message
)
Visual Basic
Public Shared Function Fail ( 
	message As String
) As ReturnCode
Visual C++
public:
static ReturnCode^ Fail(
	String^ message
)
F#
static member Fail : 
        message : string -> ReturnCode 

Parameters

message
Type: System..::..String
A message describing the reason for the failure.

Return Value

Type: ReturnCode
An unsuccessful ReturnCode

See Also