Contains information that indicates whether an operation succeeded or failed. If the operation failed, contains information that indicates why.

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

Syntax

C#
[SerializableAttribute]
public sealed class ReturnCode
Visual Basic
<SerializableAttribute>
Public NotInheritable Class ReturnCode
Visual C++
[SerializableAttribute]
public ref class ReturnCode sealed
F#
[<SealedAttribute>]
[<SerializableAttribute>]
type ReturnCode =  class end

Remarks

This class can be used as the return type of a method which may succeed or fail. For a method that returns a value on success, use the ReturnValue<(Of <(<'T>)>)> class.

Inheritance Hierarchy

System..::..Object
  RightEdge.Common..::..ReturnCode

See Also