65 lines
2.1 KiB
C#
65 lines
2.1 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Threading;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>Represents the status of an asynchronous operation.</summary>
|
|
// Token: 0x02000101 RID: 257
|
|
[Token(Token = "0x2000101")]
|
|
[ComVisible(true)]
|
|
public interface IAsyncResult
|
|
{
|
|
/// <summary>Gets a value that indicates whether the asynchronous operation has completed.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the operation is complete; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x170000CC RID: 204
|
|
// (get) Token: 0x06000996 RID: 2454
|
|
[Token(Token = "0x170000CC")]
|
|
bool IsCompleted
|
|
{
|
|
[Token(Token = "0x6000996")]
|
|
[Address(Slot = "0")]
|
|
get;
|
|
}
|
|
|
|
/// <summary>Gets a <see cref="T:System.Threading.WaitHandle" /> that is used to wait for an asynchronous operation to complete.</summary>
|
|
/// <returns>A <see cref="T:System.Threading.WaitHandle" /> that is used to wait for an asynchronous operation to complete.</returns>
|
|
// Token: 0x170000CD RID: 205
|
|
// (get) Token: 0x06000997 RID: 2455
|
|
[Token(Token = "0x170000CD")]
|
|
WaitHandle AsyncWaitHandle
|
|
{
|
|
[Token(Token = "0x6000997")]
|
|
[Address(Slot = "1")]
|
|
get;
|
|
}
|
|
|
|
/// <summary>Gets a user-defined object that qualifies or contains information about an asynchronous operation.</summary>
|
|
/// <returns>A user-defined object that qualifies or contains information about an asynchronous operation.</returns>
|
|
// Token: 0x170000CE RID: 206
|
|
// (get) Token: 0x06000998 RID: 2456
|
|
[Token(Token = "0x170000CE")]
|
|
object AsyncState
|
|
{
|
|
[Token(Token = "0x6000998")]
|
|
[Address(Slot = "2")]
|
|
get;
|
|
}
|
|
|
|
/// <summary>Gets a value that indicates whether the asynchronous operation completed synchronously.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the asynchronous operation completed synchronously; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x170000CF RID: 207
|
|
// (get) Token: 0x06000999 RID: 2457
|
|
[Token(Token = "0x170000CF")]
|
|
bool CompletedSynchronously
|
|
{
|
|
[Token(Token = "0x6000999")]
|
|
[Address(Slot = "3")]
|
|
get;
|
|
}
|
|
}
|
|
}
|