This documentation is archived and is not being maintained.

SoapMessage.OneWay Property

Gets a value indicating the SoapDocumentMethodAttribute.OneWay property of either the SoapDocumentMethodAttribute or the SoapRpcMethodAttribute attribute applied to the XML Web service method.

[Visual Basic]
Public MustOverride ReadOnly Property OneWay As Boolean
[C#]
public abstract bool OneWay {get;}
[C++]
public: __property virtual bool get_OneWay() = 0;
[JScript]
public abstract function get OneWay() : Boolean;

Property Value

true if the OneWay property of the SoapDocumentMethodAttribute or SoapRpcMethodAttribute applied to the XML Web service method is true; otherwise, false.

Remarks

See the SoapDocumentMethodAttribute.OneWay property of SoapDocumentMethodAttribute or SoapRpcMethodAttribute for details about one-way XML Web service methods.

The OneWay property is accessible in all stages of 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

SoapMessage Class | SoapMessage Members | System.Web.Services.Protocols Namespace | OneWay | SoapDocumentMethodAttribute | SoapRpcMethodAttribute

Show: