singrdk/base/Applications/Runtime/Full/System/IAsyncResult.cs

40 lines
1.0 KiB
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;
//| <include path='docs/doc[@for="IAsyncResult"]/*' />
[CLSCompliant(false)]
public interface IAsyncResult
{
//| <include path='docs/doc[@for="IAsyncResult.IsCompleted"]/*' />
bool IsCompleted { get; }
//| <include path='docs/doc[@for="IAsyncResult.AsyncWaitHandle"]/*' />
WaitHandle AsyncWaitHandle { get; }
//| <include path='docs/doc[@for="IAsyncResult.AsyncState"]/*' />
Object AsyncState { get; }
//| <include path='docs/doc[@for="IAsyncResult.CompletedSynchronously"]/*' />
bool CompletedSynchronously { get; }
}
}