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 */
public boolean get_Relay ()

/** @property */
public void set_Relay (boolean value)

public function get Relay () : boolean

public function set Relay (value : boolean)

Not applicable.

Property Value

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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0