ModelFactoryGenerateAlertRuleProcessResult Method

Generates a AlertRuleProcessResultDto to be logged to the database after an alert rule was processed.

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
public static AlertRuleProcessResultDto GenerateAlertRuleProcessResult(
	AlertRuleProcessResult result,
	AlertProcessingContext context
)

Parameters

result  AlertRuleProcessResult
A result object returned by the connector after interacting with its remote endpoint. This is not identical to the business object that will be generated by this method: it contains other properties that are used internally by the processing pipeline to finalize operations, but will contain other data suitable for logging.
context  AlertProcessingContext
The processing input to the connector.

Return Value

AlertRuleProcessResultDto
An AlertRuleProcessResultDto to be logged to the database.

Exceptions

ArgumentNullExceptionThrown if result is .

See Also