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

37 lines
1.4 KiB
C#

using System;
using System.ComponentModel;
namespace System.Net
{
/// <summary>Provides data for the <see cref="E:System.Net.WebClient.UploadStringCompleted" /> event.</summary>
// Token: 0x0200025C RID: 604
public class UploadStringCompletedEventArgs : global::System.ComponentModel.AsyncCompletedEventArgs
{
// Token: 0x06001583 RID: 5507 RVA: 0x00044FAC File Offset: 0x000431AC
internal UploadStringCompletedEventArgs(string result, Exception error, bool cancelled, object userState)
: base(error, cancelled, userState)
{
this.result = result;
}
/// <summary>Gets the server reply to a string upload operation that is started by calling an <see cref="Overload:System.Net.WebClient.UploadStringAsync" /> method.</summary>
/// <returns>A <see cref="T:System.Byte" /> array that contains the server reply.</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: 0x1700070D RID: 1805
// (get) Token: 0x06001584 RID: 5508 RVA: 0x00044FC0 File Offset: 0x000431C0
public string Result
{
get
{
base.RaiseExceptionIfNecessary();
return this.result;
}
}
// Token: 0x040011DE RID: 4574
private string result;
}
}