SDAC

TMSConversation.Send Method

Sends a message within a conversation.

Class

TMSConversation

Syntax

procedure Send(const MessageBody: TBytes; const MessageType: string = ''); overload;

Parameters
MessageBody
Holds the message to be sent.
MessageType
Determines the type of the message being sent.

Remarks

The Send method sends a message within a conversation. The target service is determined when creating a conversation.

The MessageType parameter determines the type of the message being sent. For the detailed message types description see the description of the CREATE MESSAGE TYPE statement in MSDN.

You can check the status of the last sent message by the TMSConversation.GetTransmissionStatus method.

Note: The method overload with the WideString MessageBody parameter type is not supported under Delphi 5.

See Also

© 1997-2019 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback