Class UploadStringCompletedEventArgs
Provides data for the System.Net.WebClient.UploadStringCompleted event.
Inheritance
Inherited Members
Namespace: OpenSilver.Compatibility
Assembly: OpenSilver.dll
Syntax
public class UploadStringCompletedEventArgs
Constructors
| Improve this Doc View SourceUploadStringCompletedEventArgs()
Initializes a new instance of the System.ComponentModel.AsyncCompletedEventArgs class.
Declaration
public UploadStringCompletedEventArgs()
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 SourceCancelled
Gets a value indicating whether an asynchronous operation has been canceled.
Declaration
public bool Cancelled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Error
Gets a value indicating which error occurred during an asynchronous operation.
Declaration
public Exception Error { get; }
Property Value
Type | Description |
---|---|
System.Exception |
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 |
UserState
Gets the unique identifier for the asynchronous task.
Declaration
public object UserState { get; }
Property Value
Type | Description |
---|---|
System.Object |