BeginFork

BeginFork

The BeginFork function initializes a forking operation for the current message.

Syntax

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 Fork were made after the corresponding BeginFork and before an EndFork call.