Returns Attachments that message under specified ID contains.

Namespace: hr.tis.mgw.client.message
Assembly:   mgw2-client-1.0.6 (in mgw2-client-1.0.6)
Version: 2.1.0.6

Syntax

Visual Basic (Declaration)
Function getMessageAttachment ( _
	routeId As String, _
	messageId As String _
) As Attachment()
C#
Attachment[] getMessageAttachment (
	string routeId,
	string messageId
)
Visual C++
array<Attachment^>^ getMessageAttachment (
	String^ routeId, 
	String^ messageId
)

Parameters

routeId
System.String
route identifier required for request authorization
messageId
System.String
message identifier

Return Value

array of message Attachments

Exceptions

ExceptionCondition
hr.tis.mgw.client.GatewayExceptionwhen gateway couldn't process request for some reason
hr.tis.mgw.client.message.UnknownMessageIdentifierExceptionwhen message under specified ID isn't found in gateway
!:NoRouteCredentialsExceptionwhen security credentials cannot be resolved for specified route
!:RemoteExceptionwhen there was communication error with gateway