Share via


Pipeline.IsIntermediary Property

Gets or sets a value indicating whether the pipeline is running within a SOAP router.

Namespace: Microsoft.Web.Services3
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim pipeline1 As Pipeline

Dim returnValue As Boolean
returnValue = pipeline1.IsIntermediary

Dim sampleValue As Boolean
pipeline1.IsIntermediary = sampleValue

Syntax

'Declaration
Public Property IsIntermediary() As Boolean
public bool IsIntermediary {get; set;}
public:
property bool IsIntermediary {
    bool get();
    void set(bool value);
}
public boolean get_IsIntermediary();
public void set_IsIntermediary(boolean);
public function get IsIntermediary() : Boolean;
public function set IsIntermediary(Boolean);

Property Value

true if the pipeline is running within a SOAP router; otherwise, false. The default is false.

Remarks

When you build a custom SOAP router that handles TCP requests, set the IsIntermediary to true. Setting the IsIntermediary to true allows the SOAP router to process the SoapEnvelope after the other filters in the pipeline have processed the SOAP message. Since filters typically do not remove the SOAP header that specifies the SOAP router as an intermediary endpoint, this allows the SOAP router to remove that header. If the SOAP router is the only intermediary, the SOAP header can be removed by calling the Clear methods on the Referrals and Security properties. The Referrals and Security properties belong to the Context property of the SoapEnvelope that was passed to the ProcessInputMessage.

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

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

Pipeline Class
Pipeline Members
Microsoft.Web.Services3 Namespace