This documentation is archived and is not being maintained.

WebClientAsyncResult Class

Provides an implementation of IAsyncResult for use by XML Web service proxies to implement the standard asynchronous method pattern.

For a list of all members of this type, see WebClientAsyncResult Members.


[Visual Basic]
Public Class WebClientAsyncResult
   Implements IAsyncResult
public class WebClientAsyncResult : IAsyncResult
public __gc class WebClientAsyncResult : public IAsyncResult
public class WebClientAsyncResult implements IAsyncResult

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.


When you call the BeginMyMethodName method, where MyMethodName is the synchronous version of the method, on an XML Web service proxy class, an instance of the WebClientAsyncResult is returned. Following the standard asynchronous design pattern, that instance of WebClientAsyncResult must later be passed to EndMyMethodName to complete the asynchronous method call.

For details on calling XML Web services asynchronously, see Communicating with XML Web Services Asynchronously.


Namespace: System.Web.Services.Protocols

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: System.Web.Services (in System.Web.Services.dll)

See Also

WebClientAsyncResult Members | System.Web.Services.Protocols Namespace | IAsyncResult | Communicating with XML Web Services Asynchronously