Show / Hide Table of Contents

Class UploadStringCompletedEventArgs

Provides data for the System.Net.WebClient.UploadStringCompleted event.

Inheritance
System.Object
UploadStringCompletedEventArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OpenSilver.Compatibility
Assembly: OpenSilver.dll
Syntax
public class UploadStringCompletedEventArgs

Constructors

| Improve this Doc View Source

UploadStringCompletedEventArgs()

Initializes a new instance of the System.ComponentModel.AsyncCompletedEventArgs class.

Declaration
public UploadStringCompletedEventArgs()
| Improve this Doc View Source

UploadStringCompletedEventArgs(Exception, Boolean, Object)

Initializes a new instance of the System.ComponentModel.AsyncCompletedEventArgs class.

Declaration
public UploadStringCompletedEventArgs(Exception error, bool cancelled, object userState)
Parameters
Type Name Description
System.Exception error

Any error that occurred during the asynchronous operation.

System.Boolean cancelled

A value indicating whether the asynchronous operation was canceled.

System.Object userState

The optional user-supplied state object passed to the System.ComponentModel.BackgroundWorker.RunWorkerAsync(System.Object) method.

Properties

| Improve this Doc View Source

Cancelled

Gets a value indicating whether an asynchronous operation has been canceled.

Declaration
public bool Cancelled { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Error

Gets a value indicating which error occurred during an asynchronous operation.

Declaration
public Exception Error { get; }
Property Value
Type Description
System.Exception
| Improve this Doc View Source

Result

Gets the server reply to a string upload operation that is started by calling an Overload:System.Net.WebClient.UploadStringAsync method.

Declaration
public string Result { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

UserState

Gets the unique identifier for the asynchronous task.

Declaration
public object UserState { get; }
Property Value
Type Description
System.Object
  • Improve this Doc
  • View Source