 | MessageHandlerBaseCreateNACK Method |
Create a negative acknolwedgement from the specified exception
Namespace: SanteDB.Messaging.HL7.MessagesAssembly: SanteDB.Messaging.HL7 (in SanteDB.Messaging.HL7.dll) Version: 3.0.2081-alpha+e82e56b43bfab0d631a8b4d1ba2ab44b8aff02dd
Syntaxprotected virtual IMessage CreateNACK(
Type nackType,
IMessage request,
Exception error,
Hl7MessageReceivedEventArgs receiveData
)
Protected Overridable Function CreateNACK (
nackType As Type,
request As IMessage,
error As Exception,
receiveData As Hl7MessageReceivedEventArgs
) As IMessage
protected:
virtual IMessage^ CreateNACK(
Type^ nackType,
IMessage^ request,
Exception^ error,
Hl7MessageReceivedEventArgs^ receiveData
)
abstract CreateNACK :
nackType : Type *
request : IMessage *
error : Exception *
receiveData : Hl7MessageReceivedEventArgs -> IMessage
override CreateNACK :
nackType : Type *
request : IMessage *
error : Exception *
receiveData : Hl7MessageReceivedEventArgs -> IMessage 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
IMessageNACK message
See Also