Files
Dec2017-Script-Dump/System/Net/DownloadStringCompletedEventArgs.cs
2026-06-04 11:42:34 +02:00

37 lines
1.3 KiB
C#

using System;
using System.ComponentModel;
namespace System.Net
{
/// <summary>Provides data for the <see cref="E:System.Net.WebClient.DownloadStringCompleted" /> event.</summary>
// Token: 0x02000215 RID: 533
public class DownloadStringCompletedEventArgs : global::System.ComponentModel.AsyncCompletedEventArgs
{
// Token: 0x06001225 RID: 4645 RVA: 0x00036568 File Offset: 0x00034768
internal DownloadStringCompletedEventArgs(string result, Exception error, bool cancelled, object userState)
: base(error, cancelled, userState)
{
this.result = result;
}
/// <summary>Gets the data that is downloaded by a <see cref="Overload:System.Net.WebClient.DownloadStringAsync" /> method.</summary>
/// <returns>A <see cref="T:System.String" /> that contains the downloaded data.</returns>
/// <PermissionSet>
/// <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode, ControlEvidence" />
/// </PermissionSet>
// Token: 0x170005EE RID: 1518
// (get) Token: 0x06001226 RID: 4646 RVA: 0x0003657C File Offset: 0x0003477C
public string Result
{
get
{
base.RaiseExceptionIfNecessary();
return this.result;
}
}
// Token: 0x04000FB3 RID: 4019
private string result;
}
}