This documentation is archived and is not being maintained.

MessageHeaderAttribute.Relay Property

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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0