Creates an unsuccessful ReturnCode.
Namespace:
RightEdge.CommonAssembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)
Syntax
| C# |
|---|
public static ReturnCode Fail( string message, Exception ex ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function Fail ( _ message As String, _ ex As Exception _ ) As ReturnCode |
| Visual C++ |
|---|
public: static ReturnCode^ Fail( String^ message, Exception^ ex ) |
Parameters
- message
- Type: System..::.String
A message describing the reason for the failure.
- ex
- Type: System..::.Exception
An exception that caused the failure.