다음을 통해 공유


SoapEnvelope.SetBodyObject Method (Object)

Sets the Body property of the SOAP envelope using the specified object.

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

Usage

'Usage
Dim body As Object
Dim soapEnvelope1 As SoapEnvelope
soapEnvelope1.SetBodyObject(body)

Syntax

'Declaration
Overloads Public Sub SetBodyObject( _
    ByVal body As Object _
)
public void SetBodyObject(
    object body
);
public:
void SetBodyObject(
    Object^ body
);
public void SetBodyObject(
    System.Object body
);
public function SetBodyObject(
     body : Object
) : Void;

Parameters

  • body

Remarks

Any existing content in the Body property is lost.

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

SoapEnvelope Class
SoapEnvelope Members
Microsoft.Web.Services3 Namespace