NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

SoapClientProtocol.EndInvoke

Ends an asynchronous invocation of a method of a remote SOAP web service.

[Visual Basic]
Protected Function EndInvoke( _
   ByVal asyncResult As IAsyncResult _
) As Object ()
[C#]
protected object[] EndInvoke(
   IAsyncResult asyncResult
);
[C++]
protected: Object* EndInvoke(
   IAsyncResult* asyncResult
) [];
[JScript]
protected function EndInvoke(
   asyncResult : IAsyncResult
) : Object[];

Parameters

asyncResult
The IAsyncResult returned from BeginInvoke.

Return Value

An array of objects containing the return value and any by-reference or out parameters of the derived class method.

Exceptions

Exception Type Condition
ArgumentException asyncResult is not the return value from BeginInvoke.
SoapException The request reached the server machine, but was not processed successfully.

See Also

SoapClientProtocol Class | SoapClientProtocol Members | System.Web.Services.Protocols Namespace