MessageHeaderAttribute.Relay Property

 
System_CAPS_noteNote

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

Specifies whether this header is to be relayed to downstream nodes. This is mapped to the relay SOAP header attribute.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public bool Relay { get; set; }

Property Value

Type: System.Boolean

true if this header is to be relayed to downstream nodes; otherwise, false.

This property is ignored when SOAP 1.1 is used. For more information, see the Remarks section of MessageHeaderAttribute for details.

.NET Framework
Available since 3.0
Return to top
Show: