March 2004
Intermediate to advanced
560 pages
26h 47m
English
public interface IAsyncResult { // Properties object AsyncState { get; } WaitHandle AsyncWaitHandle { get; } bool CompletedSynchronously { get; } bool IsCompleted { get; } }
|
KC Cancel is a very often-requested member. We decided not to add it as not all async operations can reliably support cancellations. It's bad to have interface members that cannot be implemented by a large percentage of types implementing the interface. Interface design is extremely difficult. It requires perfect balance between too few members (which makes the interface useless) and too many members, which makes the interface too hard or even impossible to implement in many cases. JR I like the asynchronous programming model a lot and I recommend that everyone ... |
Read now
Unlock full access