This documentation is archived and is not being maintained.

SoapClientMessage.OneWay Property

Gets a value indicating whether the client waits for the server to finish processing an XML Web service method.

[Visual Basic]
Overrides Public ReadOnly Property OneWay As Boolean
[C#]
public override bool OneWay {get;}
[C++]
public: __property bool get_OneWay();
[JScript]
public override function get OneWay() : Boolean;

Property Value

true if the client waits for the server to completely process a method.

Remarks

A SoapDocumentMethodAttribute or SoapRpcMethodAttribute applied to an XML Web service method or XML Web service client can specify whether the XML Web service method is one way by setting the OneWay property of the attribute.

The OneWay property can be accessed during any SoapMessageStage.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

SoapClientMessage Class | SoapClientMessage Members | System.Web.Services.Protocols Namespace | OneWay

Show: