Click or drag to resize

MessageHandlerBaseCreateNACK Method

Create a negative acknolwedgement from the specified exception

Namespace: SanteDB.Messaging.HL7.Messages
Assembly: SanteDB.Messaging.HL7 (in SanteDB.Messaging.HL7.dll) Version: 3.0.2081-alpha+e82e56b43bfab0d631a8b4d1ba2ab44b8aff02dd
Syntax
protected virtual IMessage CreateNACK(
	Type nackType,
	IMessage request,
	Exception error,
	Hl7MessageReceivedEventArgs receiveData
)

Parameters

nackType  Type
The type of NACK message to construct
request  IMessage
The request message
error  Exception
The exception that occurred
receiveData  Hl7MessageReceivedEventArgs
The data which was received (for correlation on the NACL)

Return Value

IMessage
NACK message
See Also