WebClientAsyncResult Class
Collapse the table of content
Expand the table of content

WebClientAsyncResult Class

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

Namespace: System.Web.Services.Protocols
Assembly: System.Web.Services (in system.web.services.dll)

public class WebClientAsyncResult : IAsyncResult
public class WebClientAsyncResult implements IAsyncResult
public class WebClientAsyncResult implements IAsyncResult
Not applicable.

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.


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

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.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 2.0, 1.0

Community Additions

© 2015 Microsoft