using System; using Cpp2IlInjected; namespace System.ComponentModel { /// Provides data for the MethodName event. // Token: 0x020000DE RID: 222 [Token(Token = "0x20000DE")] public class AsyncCompletedEventArgs : EventArgs { /// Initializes a new instance of the class. // Token: 0x06000534 RID: 1332 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000534")] [Address(RVA = "0xB8E4C0", Offset = "0xB8D4C0", VA = "0x180B8E4C0")] [Obsolete] [Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)] [EditorBrowsable(EditorBrowsableState.Never)] public AsyncCompletedEventArgs() { } /// Initializes a new instance of the class. /// Any error that occurred during the asynchronous operation. /// A value indicating whether the asynchronous operation was canceled. /// The optional user-supplied state object passed to the method. // Token: 0x06000535 RID: 1333 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000535")] [Address(RVA = "0xB8E520", Offset = "0xB8D520", VA = "0x180B8E520")] public AsyncCompletedEventArgs(Exception error, bool cancelled, object userState) { } /// Gets a value indicating whether an asynchronous operation has been canceled. /// /// if the background operation has been canceled; otherwise . The default is . // Token: 0x170000CD RID: 205 // (get) Token: 0x06000536 RID: 1334 RVA: 0x00004170 File Offset: 0x00002370 [Token(Token = "0x170000CD")] [SRDescription("True if operation was cancelled.")] public bool Cancelled { [Token(Token = "0x6000536")] [Address(RVA = "0x497570", Offset = "0x496570", VA = "0x180497570")] get { return default(bool); } } /// Gets a value indicating which error occurred during an asynchronous operation. /// An instance, if an error occurred during an asynchronous operation; otherwise . // Token: 0x170000CE RID: 206 // (get) Token: 0x06000537 RID: 1335 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170000CE")] [SRDescription("Exception that occurred during operation. Null if no error.")] public Exception Error { [Token(Token = "0x6000537")] [Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")] get { return null; } } /// Gets the unique identifier for the asynchronous task. /// An object reference that uniquely identifies the asynchronous task; otherwise, if no value has been set. // Token: 0x170000CF RID: 207 // (get) Token: 0x06000538 RID: 1336 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170000CF")] [SRDescription("User-supplied state to identify operation.")] public object UserState { [Token(Token = "0x6000538")] [Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")] get { return null; } } /// Raises a user-supplied exception if an asynchronous operation failed. /// The property is . /// The property has been set by the asynchronous operation. The property holds a reference to . // Token: 0x06000539 RID: 1337 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000539")] [Address(RVA = "0xB8E3E0", Offset = "0xB8D3E0", VA = "0x180B8E3E0")] protected void RaiseExceptionIfNecessary() { } // Token: 0x04000428 RID: 1064 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4000428")] private readonly Exception error; // Token: 0x04000429 RID: 1065 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4000429")] private readonly bool cancelled; // Token: 0x0400042A RID: 1066 [FieldOffset(Offset = "0x20")] [Token(Token = "0x400042A")] private readonly object userState; } }