Click or drag to resize

ReturnValue Class

Standard return value for methods which provide exception information.
Inheritance Hierarchy

Namespace:  AskiaPortalCmn
Assembly:  AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax
public class ReturnValue : IReturnValue

The ReturnValue type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyException
Get the exception that has been occured.
Most of the time when Success is false.
Public propertySuccess
Indicates if the method was successfully executed
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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 the default hash function.
(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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberSuccessValue
Single instance of success result.
Top
Remarks
Most of the method in AskiaPortalCmn doesn't throw an exception, except if it's really require.
The exception information in such case is available via this return value object or it's equivalent.
See Also