Share via


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.Services2
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.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 Boolean IsRequest{
    Boolean get();
    Void set(Boolean);
}
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 Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

SoapContext Class
Microsoft.Web.Services2 Namespace

Other Resources

SoapContext Members