Condividi tramite


SoapContext.IsRequest Property

Gets or sets a value that indicates whether the SOAP message associated with this SOAP context is a SOAP request.

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

Usage

'Usage
Dim soapContext1 As SoapContext

Dim returnValue As Boolean
returnValue = soapContext1.IsRequest

Dim sampleValue As Boolean
soapContext1.IsRequest = sampleValue

Syntax

'Declaration
Public Property IsRequest() As Boolean
public bool IsRequest {get; set;}
public:
property bool IsRequest {
    bool get();
    void set(bool value);
}
public boolean get_IsRequest();
public void set_IsRequest(boolean);
public function get IsRequest() : Boolean;
public function set IsRequest(Boolean);

Property Value

true if the SOAP message is a SOAP request; otherwise, false.

Remarks

If the SOAP message is a one-way SOAP message ( IsOneWay is true ), then the IsOneWay property is also true.

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

SoapContext Class
SoapContext Members
Microsoft.Web.Services3 Namespace