SoapInputChannel.EndReceive Method

Ends a pending asynchronous receive operation.

Namespace: Microsoft.Web.Services3.Messaging
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim result As IAsyncResult
Dim returnValue As SoapEnvelope
Dim soapInputChannel1 As SoapInputChannel
returnValue = soapInputChannel1.EndReceive(result)

Syntax

'Declaration
Public Overridable Function EndReceive( _
    ByVal result As IAsyncResult _
) As SoapEnvelope
public virtual SoapEnvelope EndReceive(
    IAsyncResult result
);
public:
virtual SoapEnvelope^ EndReceive(
    IAsyncResult^ result
);
public virtual SoapEnvelope EndReceive(
    IAsyncResult result
);
public function EndReceive(
     result : IAsyncResult
) : SoapEnvelope;

Parameters

  • result
    The IAsyncResult that identifies the asynchronous receive operation to finish.

Return Value

A SoapEnvelope that represents the message that is received.

Exceptions

Exception type Condition
ArgumentNullException

result is null.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

SoapInputChannel Class
SoapInputChannel Members
Microsoft.Web.Services3.Messaging Namespace