SoapMessage::GetOutParameterValue Method (Int32)
.NET Framework (current version)
Gets the out parameter passed into the XML Web service method at the specified index.
Assembly: System.Web.Services (in System.Web.Services.dll)
Parameters
- index
-
Type:
System::Int32
The zero-based index of the parameter in the array of parameters.
| Exception | Condition |
|---|---|
| IndexOutOfRangeException | The index parameter is greater than the length of the parameters array. |
| InvalidOperationException | Accessing this property when out parameters are not available. For details see the Remarks section. |
If out parameters are not available, ASP.NET throws an InvalidOperationException when accessing the GetOutParameterValue property.
In a SoapClientMessage the out parameters are available in the AfterDeserializeSoapMessageStage. In a SoapServerMessage the out parameters are available in the BeforeSerialize of the SoapMessageStage.
.NET Framework
Available since 1.1
Available since 1.1
Show: