Invoking and Implementing Operations Asynchronously

A OneWay operation is useful for "fire and forget" scenarios, where the client application does not expect the service to pass back any information. However, many operations do not fit into this scheme of working and return data to the client application. To cater for these situations, WCF supports asynchronous operations and the IAsyncResult design pattern. WCF enables you to implement the IAsyncResult design pattern in two ways: in the client application invoking the operation and in the WCF service implementing the operation.

More Info

The IAsyncResult design pattern is commonly used throughout the .NET Framework and is not peculiar to WCF. For details, see the topic "Asynchronous Programming ...

Get Microsoft® Windows® Communication Foundation Step by Step now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.