Pipeline.IsIntermediary Property
Gets or sets a value indicating whether the pipeline is running within a SOAP router.
Namespace: Microsoft.Web.Services2
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.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 Boolean IsIntermediary{
Boolean get();
Void set(Boolean);
}
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, that SOAP header can be removed by calling the Clear methods on the Referrals and Security properties of the Context property of the SoapEnvelope passed to 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 Longhorn, and Windows 2000
Target Platforms
Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone
See Also
Reference
Pipeline Class
Microsoft.Web.Services2 Namespace