System.Web.Services.Protocols.SoapMessage.GetInParameterValue Method

Gets the parameter passed into the XML Web service method at the specified index.

Syntax

public object GetInParameterValue (int index)

Parameters

index
The zero-based index of the parameter in the array of parameters.

Returns

An object representing the parameter at the specified index.

Remarks

The SoapMessage.GetInParameterValue(int) property is only accessible when in parameters are available. ASP.NET throws InvalidOperationException when accessing the SoapMessage.GetInParameterValue(int) property if in parameters are not available.

In a System.Web.Services.Protocols.SoapClientMessage the in parameters are available in the SoapMessageStage.BeforeSerialize System.Web.Services.Protocols.SoapMessageStage. In a System.Web.Services.Protocols.SoapServerMessage the in parameters are available in the SoapMessageStage.AfterDeserialize 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