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: 2.2.1
Syntax
protected virtual IMessage CreateNACK(
	Type nackType,
	IMessage request,
	Exception error,
	Hl7MessageReceivedEventArgs receiveData
)

Parameters

nackType
Type: SystemType

[Missing <param name="nackType"/> documentation for "M:SanteDB.Messaging.HL7.Messages.MessageHandlerBase.CreateNACK(System.Type,NHapi.Base.Model.IMessage,System.Exception,SanteDB.Messaging.HL7.TransportProtocol.Hl7MessageReceivedEventArgs)"]

request
Type: IMessage
The request message
error
Type: SystemException
The exception that occurred
receiveData
Type: SanteDB.Messaging.HL7.TransportProtocolHl7MessageReceivedEventArgs

[Missing <param name="receiveData"/> documentation for "M:SanteDB.Messaging.HL7.Messages.MessageHandlerBase.CreateNACK(System.Type,NHapi.Base.Model.IMessage,System.Exception,SanteDB.Messaging.HL7.TransportProtocol.Hl7MessageReceivedEventArgs)"]

Return Value

Type: IMessage
NACK message
See Also