IAsyncResult.cs 717 B

123456789101112131415161718192021222324252627282930
  1. // Licensed to the .NET Foundation under one or more agreements.
  2. // The .NET Foundation licenses this file to you under the MIT license.
  3. // See the LICENSE file in the project root for more information.
  4. /*============================================================
  5. **
  6. ** Interface: IAsyncResult
  7. **
  8. ** Purpose: Interface to encapsulate the results of an async
  9. ** operation
  10. **
  11. ===========================================================*/
  12. using System;
  13. using System.Threading;
  14. namespace System
  15. {
  16. public interface IAsyncResult
  17. {
  18. bool IsCompleted { get; }
  19. WaitHandle AsyncWaitHandle { get; }
  20. object AsyncState { get; }
  21. bool CompletedSynchronously { get; }
  22. }
  23. }