SoapMessage::GetReturnValue Method ()
.NET Framework (current version)
Gets the return value of an XML Web service method.
Assembly: System.Web.Services (in System.Web.Services.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | The XML Web service method does not have a return value. OR The return value is not available. For details see the Remarks section |
If a return value is not available, ASP.NET throws InvalidOperationException when accessing the GetReturnValue property.
In a SoapClientMessage the return value is available when the SoapMessageStage value is AfterDeserialize. In a SoapServerMessage the return value is available when SoapMessageStage value is BeforeSerialize.
.NET Framework
Available since 1.1
Available since 1.1
Show: