AsyncResult.End Method
Verifies that the EndInvoke method is complete.
Namespace: Microsoft.Web.Services3
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim result As IAsyncResult
AsyncResult.End(result)
Syntax
'Declaration
Public Shared Sub End( _
ByVal result As IAsyncResult _
)
public static void End(
IAsyncResult result
);
public:
static void End(
IAsyncResult^ result
);
public static void End(
IAsyncResult result
);
public static function End(
result : IAsyncResult
) : Void;
Parameters
- result
An IAsyncResult representing the status of an asynchronous operation.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | result is null. |
ArgumentException | result is not an AsyncResult . |
InvalidOperationException | The End method has already been called for this operation. |
AsynchronousOperationException | The Complete overload that takes an Exception argument was previously called. |
Remarks
The End method should be called when the EndInvoke method for the asynchronous operation is complete. The End method ensures that the asynchronous operation is complete.
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
AsyncResult Class
AsyncResult Members
Microsoft.Web.Services3 Namespace
AsynchronousOperationException