36 lines
1.3 KiB
C#
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.UploadDataCompleted" /> event.</summary>
|
|
// Token: 0x02000259 RID: 601
|
|
public class UploadDataCompletedEventArgs : global::System.ComponentModel.AsyncCompletedEventArgs
|
|
{
|
|
// Token: 0x0600157A RID: 5498 RVA: 0x00044F28 File Offset: 0x00043128
|
|
internal UploadDataCompletedEventArgs(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 started by calling an <see cref="Overload:System.Net.WebClient.UploadDataAsync" /> method.</summary>
|
|
/// <returns>A <see cref="T:System.Byte" /> array containing 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: 0x17000707 RID: 1799
|
|
// (get) Token: 0x0600157B RID: 5499 RVA: 0x00044F3C File Offset: 0x0004313C
|
|
public byte[] Result
|
|
{
|
|
get
|
|
{
|
|
return this.result;
|
|
}
|
|
}
|
|
|
|
// Token: 0x040011D8 RID: 4568
|
|
private byte[] result;
|
|
}
|
|
}
|