SoapHeader.Relay Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets a value that indicates whether the SOAP header is to be relayed to the next SOAP node if the current node does not understand the header.

Namespace:   System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

public bool Relay { get; set; }

Property Value

Type: System.Boolean

true if the SOAP header has a "relay" attribute set to "true"; otherwise, false.

The default SOAP 1.2 processing rules require SOAP nodes to remove headers that are not understood by the SOAP processing node before passing the message on to the next node.

.NET Framework
Available since 2.0
Return to top