This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Tunnels data from the input to the specified output streams

Namespace: Smartsite.Web
Assembly:  Smartsite.Web (in Smartsite.Web.dll)

Syntax

C#Copy imageCopy Code
public static [] Pipe(
	 input,
	 primaryOutput,
	params [] secondaryOutput
)
Visual Basic (Declaration)Copy imageCopy Code
Public Shared Function Pipe ( _
	input As , _
	primaryOutput As , _
	ParamArray secondaryOutput As () _
) As ()

Parameters

input
Stream
The input.
primaryOutput
Stream
The primary output.
secondaryOutput
array<Stream>[]()
The secondary output.

Return Value

A list of write errors while writing to the secondary output

Remarks

When writing to the primary output fails, an exception is raised. Writing errors to secondary output are returned in the exception list. The index of the exception corresponds to the index of the secondary output

See Also

Utility Class
Smartsite.Web Namespace
Advanced