e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
34 lines
691 B
C#
34 lines
691 B
C#
// ==++==
|
|
//
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//
|
|
// ==--==
|
|
/*============================================================
|
|
**
|
|
** Interface: IAsyncResult
|
|
**
|
|
** Purpose: Interface to encapsulate the results of an async
|
|
** operation
|
|
**
|
|
===========================================================*/
|
|
namespace System {
|
|
|
|
using System;
|
|
using System.Threading;
|
|
[System.Runtime.InteropServices.ComVisible(true)]
|
|
public interface IAsyncResult
|
|
{
|
|
bool IsCompleted { get; }
|
|
|
|
WaitHandle AsyncWaitHandle { get; }
|
|
|
|
|
|
Object AsyncState { get; }
|
|
|
|
bool CompletedSynchronously { get; }
|
|
|
|
|
|
}
|
|
|
|
}
|