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

36 lines
1.3 KiB
C#

using System;
using System.ComponentModel;
namespace System.Net
{
/// <summary>Provides data for the <see cref="E:System.Net.WebClient.UploadFileCompleted" /> event.</summary>
// Token: 0x0200025A RID: 602
public class UploadFileCompletedEventArgs : global::System.ComponentModel.AsyncCompletedEventArgs
{
// Token: 0x0600157C RID: 5500 RVA: 0x00044F44 File Offset: 0x00043144
internal UploadFileCompletedEventArgs(byte[] result, Exception error, bool cancelled, object userState)
: base(error, cancelled, userState)
{
this.result = result;
}
/// <summary>Gets the server reply to a data upload operation that is started by calling an <see cref="Overload:System.Net.WebClient.UploadFileAsync" /> 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: 0x17000708 RID: 1800
// (get) Token: 0x0600157D RID: 5501 RVA: 0x00044F58 File Offset: 0x00043158
public byte[] Result
{
get
{
return this.result;
}
}
// Token: 0x040011D9 RID: 4569
private byte[] result;
}
}