SoapContext.IsOneWay Property
Gets or sets a value indicating whether the associated SOAP message is outgoing and a response is not expected.
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.IsOneWay
Dim sampleValue As Boolean
soapContext1.IsOneWay = sampleValue
Syntax
'Declaration
Public Property IsOneWay() As Boolean
public bool IsOneWay {get; set;}
public:
property bool IsOneWay {
bool get();
void set(bool value);
}
public boolean get_IsOneWay();
public void set_IsOneWay(boolean);
public function get IsOneWay() : Boolean;
public function set IsOneWay(Boolean);
Property Value
true if the associated SOAP message is outgoing and a response is not expected; otherwise, false. The default value is false.
Remarks
All responses are treated as OneWay messages, requests that do not require a response are marked as OneWay. This property is not valid at all locations in the message processing stack.
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