Click or drag to resize

ExtensionUtilExecuteBeforeSendResponseBehavior Method

Execute the BeforeSendResponse function allowing the behavior pipeline to inspect the message

Namespace: SanteDB.Messaging.FHIR.Util
Assembly: SanteDB.Messaging.FHIR (in SanteDB.Messaging.FHIR.dll) Version: 3.0.2081-alpha+4e2291b954f20d29cba15591683155ca851b26eb
Syntax
public static Resource ExecuteBeforeSendResponseBehavior(
	TypeRestfulInteraction interaction,
	ResourceType resourceType,
	Resource resource
)

Parameters

interaction  TypeRestfulInteraction
The interaction being called
resourceType  ResourceType
The resource type in the FHIR version.
resource  Resource
The resource being actioned

Return Value

Resource
The updated resource
Exceptions
ExceptionCondition
DetectedIssueExceptionIf there is a detected/validation issue
See Also