The ReturnCode type exposes the following members.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberFail(Exception)
Creates an unsuccessful ReturnCode.
Public methodStatic memberFail(String)
Creates an unsuccessful ReturnCode.
Public methodStatic memberFail(ReturnCode)
Creates an unsuccessful ReturnCode.
Public methodStatic memberFail(String, ReturnCode)
Creates an unsuccessful ReturnCode.
Public methodStatic memberFail(String, Exception)
Creates an unsuccessful ReturnCode.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodThrowFailure
Throws an exception if Success is false.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyMessage
A message that describes why the operation failed.
Public propertyStatic memberSucceed
Creates a successful ReturnCode.
Public propertySuccess
Indicates whether the operation was successful.

See Also