This documentation is archived and is not being maintained.
UploadFileCompletedEventArgs.Result Property
Visual Studio 2008
Gets the server reply to a data upload operation that is started by calling an UploadFileAsync method.
Assembly: System (in System.dll)
The following code example displays the value of this property.
private static void UploadFileCallback2 (Object sender, UploadFileCompletedEventArgs e) { string reply = System.Text.Encoding.UTF8.GetString (e.Result); Console.WriteLine (reply); }
void UploadFileCallback2 (Object* /*sender*/, UploadFileCompletedEventArgs* e) { String* reply = System::Text::Encoding::UTF8->GetString (e->Result); Console::WriteLine (reply); }
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: