Results from any interceptor operation that gives a flag to tell the event manager to proceed to the next priority in line or not.
More...
List of all members.
Static Public Member Functions |
static InterceptorResult | Succeeded () |
| Creates a successful result that continues execution
|
static InterceptorResult | Failed (string message, bool continueToExecute=false) |
| Creates a failure result that gives the event manager a message to log, and specifies to proceed to the next priority in line or not. The Default is False
|
Properties |
bool | ContinueExecution [get, set] |
| A boolean flag for the event manager to decide if it will continue to process or error
|
string | Message [get, set] |
| Error message populated in the case of failure
|
Detailed Description
Results from any interceptor operation that gives a flag to tell the event manager to proceed to the next priority in line or not.
Member Function Documentation
static InterceptorResult Highway.Data.Interceptors.InterceptorResult.Failed |
( |
string |
message, |
|
|
bool |
continueToExecute = false |
|
) |
| |
|
inlinestatic |
Creates a failure result that gives the event manager a message to log, and specifies to proceed to the next priority in line or not. The Default is False
- Parameters:
-
message | Error message from the interceptor |
continueToExecute | Does execution of the interceptors continue ( Default is False ) |
- Returns:
- An Interceptor Result
Creates a successful result that continues execution
- Returns:
- An Interceptor Result
Property Documentation
bool Highway.Data.Interceptors.InterceptorResult.ContinueExecution |
|
getset |
A boolean flag for the event manager to decide if it will continue to process or error
string Highway.Data.Interceptors.InterceptorResult.Message |
|
getset |
Error message populated in the case of failure
The documentation for this struct was generated from the following file:
- Highway.Data/Interceptors/InterceptorResult.cs