Share via


Soap.SetActorAttribute Method

Sets the actor attribute in the SOAP header 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 actor As String
Dim soap1 As Soap
soap1.SetActorAttribute(document, element, actor)

Syntax

'Declaration
Public Overridable Sub SetActorAttribute( _
    ByVal document As XmlDocument, _
    ByVal element As XmlElement, _
    ByVal actor As String _
)
public virtual void SetActorAttribute(
    XmlDocument document, 
    XmlElement element, 
    string actor
);
public:
virtual void SetActorAttribute(
    XmlDocument^ document,
    XmlElement^ element,
    String^ actor
);
public virtual void SetActorAttribute(
    XmlDocument document, 
    XmlElement element, 
    System.String actor
);
public function SetActorAttribute(
     document : XmlDocument, 
     element : XmlElement, 
     actor : String
) : Void;

Parameters

  • document
    The SOAP message.
  • element
    The SOAP header.
  • actor
    The value for the actor attribute.

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

Soap Class
Soap Members
Microsoft.Web.Services3 Namespace