BeginFork

The BeginForkfunction initializes a forking operation for the current message.

Syntax

  Copy codeCopy code
void BeginFork(
  bool reserved1,
  integer reserved2
);

Parameters

reserved1

This parameter is reserved and must be set to false .

reserved2

This parameter is reserved and must be set to 0.

Remarks

Call BeginForkto configure the forking proxy object, and call Fork for each URI the message must be set to. Call EndFork to cause the forked messages to be sent.

A critical MSPL error is raised if there is no previous active call to BeginFork. A critical MSPL error is also raised if no calls to Forkwere made after the corresponding BeginForkand before an EndForkcall.

See also