Construct a transport response based on the received SealedMessageType instance (from SMD, SIMD or SMR).

Namespace: Nehta.VendorLibrary.SM.SMD
Assembly: Nehta.VendorLibrary.SM.SMD (in Nehta.VendorLibrary.SM.SMD.dll) Version: 1.0.5.0 (1.0.5.0)

Syntax

C#
public static TransportResponseType GetTransportResponse(
	CommonSealedMessageType sealedMessage,
	string sourceOrganisation,
	ResponseClassType deliveryResponseClass,
	string deliveryResponseCode,
	string deliveryResponseMessage,
	DateTime transportResponseTime,
	string responseId,
	bool isFinal,
	List<OtherTransportMetadataEntryType> otherTransportMetadata,
	X509Certificate2 payloadDecryptionCertificate
)
Visual Basic
Public Shared Function GetTransportResponse ( _
	sealedMessage As CommonSealedMessageType, _
	sourceOrganisation As String, _
	deliveryResponseClass As ResponseClassType, _
	deliveryResponseCode As String, _
	deliveryResponseMessage As String, _
	transportResponseTime As DateTime, _
	responseId As String, _
	isFinal As Boolean, _
	otherTransportMetadata As List(Of OtherTransportMetadataEntryType), _
	payloadDecryptionCertificate As X509Certificate2 _
) As TransportResponseType
Visual C++
public:
static TransportResponseType^ GetTransportResponse(
	CommonSealedMessageType^ sealedMessage, 
	String^ sourceOrganisation, 
	ResponseClassType deliveryResponseClass, 
	String^ deliveryResponseCode, 
	String^ deliveryResponseMessage, 
	DateTime transportResponseTime, 
	String^ responseId, 
	bool isFinal, 
	List<OtherTransportMetadataEntryType^>^ otherTransportMetadata, 
	X509Certificate2^ payloadDecryptionCertificate
)

Parameters

sealedMessage
Type: Nehta.VendorLibrary.SM.SMD..::..CommonSealedMessageType
The SMD, SMR, SIMD or TRD SealedMessageType instance to create a transport response for.
sourceOrganisation
Type: System..::..String
The organisation generating the response.
deliveryResponseClass
Type: ResponseClassType
The type of response.
deliveryResponseCode
Type: System..::..String
The response code.
deliveryResponseMessage
Type: System..::..String
Message containing more details on the response.
transportResponseTime
Type: System..::..DateTime
The time of the response.
responseId
Type: System..::..String
A unique ID to identify the response.
isFinal
Type: System..::..Boolean
A value to indicate if the transport response is the final response.
otherTransportMetadata
Type: System.Collections.Generic..::..List<(Of <(<'OtherTransportMetadataEntryType>)>)>
Additional metadata to be included.
payloadDecryptionCertificate
Type: System.Security.Cryptography.X509Certificates..::..X509Certificate2
The certificate to decrypt the sealed message encrypted payload with (the digest value of the message is obtained from the decrypted payload).

Return Value

The TransportResponseType instance.

See Also