Adds the document to the list of messages that are included in an interchange.
Namespace: Microsoft.BizTalk.Component.Interop
Assembly: Microsoft.BizTalk.Pipeline (in microsoft.biztalk.pipeline.dll)

Syntax
Sub AddDocument ( _
pContext As IPipelineContext, _
pInMsg As IBaseMessage _
)
void AddDocument (
IPipelineContext pContext,
IBaseMessage pInMsg
)
void AddDocument (
IPipelineContext^ pContext,
IBaseMessage^ pInMsg
)
void AddDocument (
IPipelineContext pContext,
IBaseMessage pInMsg
)
function AddDocument (
pContext : IPipelineContext,
pInMsg : IBaseMessage
)
Parameters
- pContext
The IPipelineContext that contains the current pipeline context.
- pInMsg
The IBaseMessage that contains the document to be added to the message set.

Remarks
The Pipeline Manager calls AddDocument once per incoming message and after all messages have been added, calls Assemble to produce the output message.
Because assembling functionality is not available in this version of BizTalk Server, the Assembler component will be executed as a general component, one message in, one message out.

Thread Safety
Any public static (
Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms
Development Platforms
The 32-bit and 64-bit editions of Windows Server 2003 R2 (except the Web Editions); the 32-bit and 64-bit editions of Windows Server 2003 with SP1 or SP2 (except the Web Edition); Windows Small Business Server 2003 with SP1 or SP2; the 32-bit and 64-bit editions of Windows Vista Ultimate, Enterprise and Business editions; the 32-bit and 64-bit editions of Windows XP Professional
Target Platforms
The 32-bit and 64-bit editions of Windows Server 2003 R2 (except the Web Editions); the 32-bit and 64-bit editions of Windows Server 2003 with SP1 or SP2 (except the Web Edition); Windows Small Business Server 2003 with SP1 or SP2

See Also