SoapMessage.GetOutParameterValue Method
.NET Framework 2.0
Gets the out parameter passed into the XML Web service method at the specified index.
Namespace: System.Web.Services.Protocols
Assembly: System.Web.Services (in system.web.services.dll)
Assembly: System.Web.Services (in system.web.services.dll)
public Object GetOutParameterValue ( int index )
public function GetOutParameterValue ( index : int ) : Object
Not applicable.
Parameters
- index
The zero-based index of the parameter in the array of parameters.
Return Value
An Object representing the parameter at the specified index.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.
myStreamWriter->WriteLine( "The values of the out parameter are:" ); myStreamWriter->WriteLine( "The value of the out parameter is: {0}", message->GetOutParameterValue( 0 ) );
myStreamWriter.WriteLine("The values of the out parameter are:");
myStreamWriter.WriteLine("The value of the out parameter is: {0}",
message.GetOutParameterValue(0));
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: