Click or drag to resize

Result Class

Standard result for methods that provide exception information.
Inheritance Hierarchy

Namespace:  AskiaFieldCom
Assembly:  AskiaFieldCom (in AskiaFieldCom.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class Result : IResult

The Result type exposes the following members.

Constructors
  NameDescription
Protected methodResult
Creates a new success result.
Public methodResult(Exception)
Creates a new fail result.
Top
Properties
  NameDescription
Public propertyException
Get the exception that has been occurred.
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 memberSuccessResult
Single instance of success result.
Top
Remarks
Most of the method in AskiaFieldCom doesn't throw an exception, except if it's really require.
The exception information in such case is available via this result object or it's equivalent.
See Also