Click or drag to resize
RouteResult Class
Represents the results of a Route(String, ActionRouteResult) operation. An instance of this class indicates whether the operation was successful through its Success property. Successful operations will have a value for Message, and may have a value for Result, but will not have a value for Exception. Unsuccessful operations will have a value for Exception, but not for Message or Result.
Inheritance Hierarchy
SystemObject
  Rock.Messaging.RoutingRouteResult

Namespace: Rock.Messaging.Routing
Assembly: Rock.Messaging (in Rock.Messaging.dll) Version: 0.9.3
Syntax
public class RouteResult

The RouteResult type exposes the following members.

Constructors
  NameDescription
Public methodRouteResult(Exception)
Initializes a new instance of the RouteResult class with an exception that was thrown during a Route operation.
Public methodRouteResult(Object, Object)
Initializes a new instance of the RouteResult class with a message and result object.
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 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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyException
Gets the Exception that was thrown during a Route operation. If the Route operation was successful, the value of this property will be null.
Public propertyMessage
Gets the message that was handled by a Route operation. If the Route operation was unsuccessful, the value of this property will be null.
Public propertyResult
Gets an object that was returned by the message handler that handled the message. The value of this property may be null.
Public propertySuccess
Gets a value representing whether the Route operation was successful.
Top
See Also