Share via


Soap12.SetRelay Method

Sets whether or not a SOAP header block must be relayed for the supplied XmlElement in the XmlDocument.

Namespace: Microsoft.Web.Services3
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim document As XmlDocument
Dim element As XmlElement
Dim relay As Boolean
Dim soap121 As Soap12
soap121.SetRelay(document, element, relay)

Syntax

'Declaration
Public Sub SetRelay( _
    ByVal document As XmlDocument, _
    ByVal element As XmlElement, _
    ByVal relay As Boolean _
)
public void SetRelay(
    XmlDocument document, 
    XmlElement element, 
    bool relay
);
public:
void SetRelay(
    XmlDocument^ document,
    XmlElement^ element,
    bool relay
);
public void SetRelay(
    XmlDocument document, 
    XmlElement element, 
    boolean relay
);
public function SetRelay(
     document : XmlDocument, 
     element : XmlElement, 
     relay : Boolean
) : Void;

Parameters

  • document
    The SOAP message.
  • element
    The relay element.
  • relay
    The value for the relay element.

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 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

Soap12 Class
Soap12 Members
Microsoft.Web.Services3 Namespace