SoapMessage::GetInParameterValue Method
Gets the 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 less than 0 or greater than the length of the parameters array. |
| InvalidOperationException | Accessing this property when in parameters are not available. For details see the Remarks section. |
The GetInParameterValue property is only accessible when in parameters are available. ASP.NET throws InvalidOperationException when accessing the GetInParameterValue property if in parameters are not available.
In a SoapClientMessage the in parameters are available in the BeforeSerialize SoapMessageStage. In a SoapServerMessage the in parameters are available in the AfterDeserialize SoapMessageStage.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.