OperationalEvent(Int32, String, String, Object, Int32) Constructor
Constructor.
Namespace: Quine.Schemas.Core.EventingAssembly: Quine.Schemas.Core (in Quine.Schemas.Core.dll) Version: 1.0.0+0ea0706914ee4edf2b0ed66bec3ab4d062a43b68
public OperationalEvent(
int id,
string message,
string source = null,
Object data = null,
int include = 1
)
Parameters
- id Int32
- Number identifying this event. Use [!:Core.EventId] to construct a structured value.
- message String
- Message for the event. May be null.
- source String (Optional)
- The Source generating the event.
- data Object (Optional)
-
Object to populate Data from. If this is an exception, ExceptionPropertyBag will be
constructed, otherwise ObjectPropertyBag will be constructed with null type name.
If this is an instance of PropertyValueBag, it will be used verbatim.
- include Int32 (Optional)
-
Relevant only when data is not an exception; determines what to include in ObjectPropertyBag.
Default is only properties.