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: 0x02000108 RID: 264
|
|
[Token(Token = "0x2000108")]
|
|
[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: 0x170000D1 RID: 209
|
|
// (get) Token: 0x060009C0 RID: 2496
|
|
[Token(Token = "0x170000D1")]
|
|
bool IsCompleted
|
|
{
|
|
[Token(Token = "0x60009C0")]
|
|
[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: 0x170000D2 RID: 210
|
|
// (get) Token: 0x060009C1 RID: 2497
|
|
[Token(Token = "0x170000D2")]
|
|
WaitHandle AsyncWaitHandle
|
|
{
|
|
[Token(Token = "0x60009C1")]
|
|
[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: 0x170000D3 RID: 211
|
|
// (get) Token: 0x060009C2 RID: 2498
|
|
[Token(Token = "0x170000D3")]
|
|
object AsyncState
|
|
{
|
|
[Token(Token = "0x60009C2")]
|
|
[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: 0x170000D4 RID: 212
|
|
// (get) Token: 0x060009C3 RID: 2499
|
|
[Token(Token = "0x170000D4")]
|
|
bool CompletedSynchronously
|
|
{
|
|
[Token(Token = "0x60009C3")]
|
|
[Address(Slot = "3")]
|
|
get;
|
|
}
|
|
}
|
|
}
|