SDAC

TMSServiceBroker.BeginDialog Method

Initiates a dialog from one TMSServiceBroker.Service to another service.

Class

TMSServiceBroker

Syntax

function BeginDialog(const TargetService: string; const TargetDatabase: string; const UseEncryption: boolean; const GroupId: TGuid; const LifeTime: integer = 0; const Contract: string = ''): TMSConversation; overload;

Parameters
TargetService
The target service name that the conversation initiates with.
TargetDatabase
Specifies the database name that the target service hosts.
UseEncryption
Specifies whether messages within the conversation must be encrypted. When set to True (the default value), it may require applying additional server settings.
GroupId
Unique identifier of an existent group, which should join in the new conversation.
LifeTime
Specifies the maximum time interval (in seconds) while the dialog remains open. After this interval expires, the dialog automatically closes. A zero LifeTime value represents an infinity interval. This is the default value.
Contract
Specifies the name of the contract that the conversation conforms to. If the parameter is not set, the DEFAULT contract is used.
Return Value
a new instance of the TMSConversation class.

See Also

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