System.Web.Services.Protocols.SoapClientMessage.OneWay Property

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

Syntax

public override bool OneWay { get; }

Value

a bool

Remarks

A System.Web.Services.Protocols.SoapDocumentMethodAttribute or System.Web.Services.Protocols.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 SoapDocumentMethodAttribute.OneWay property of the attribute.

The SoapClientMessage.OneWay property can be accessed during any System.Web.Services.Protocols.SoapMessageStage.

Requirements

Namespace: System.Web.Services.Protocols
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0