| 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
)
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: 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:
IMessageNACK message
See Also