Class AAction
The abstract AAction class is the used by all LambdaSharp App EventBus actions.
Inheritance
System.Object
AAction
Namespace: LambdaSharp.App.EventBus.Actions
Assembly: LambdaSharp.App.dll
Syntax
public abstract class AAction
Properties
Action
The Action property holds the name of the action.
Declaration
public string Action { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RequestId
The RequestId property holds a unique identifier used to reference the action in an acknowledgment.
Declaration
public string RequestId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
AcknowledgeError(String)
The AcknowledgeError(String) method creates a failed acknowledgement to this action.
Declaration
public AcknowledgeAction AcknowledgeError(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
Returns
Type | Description |
---|---|
AcknowledgeAction |
AcknowledgeOk()
The AcknowledgeOk() method creates a successful acknowledgement to this action.
Declaration
public AcknowledgeAction AcknowledgeOk()
Returns
Type | Description |
---|---|
AcknowledgeAction |