WebClient.UploadValuesCompleted Event

Definition

在名称/值集合的异步上载完成时发生。Occurs when an asynchronous upload of a name/value collection completes.

public:
 event System::Net::UploadValuesCompletedEventHandler ^ UploadValuesCompleted;
public event System.Net.UploadValuesCompletedEventHandler UploadValuesCompleted;
member this.UploadValuesCompleted : System.Net.UploadValuesCompletedEventHandler 
Public Custom Event UploadValuesCompleted As UploadValuesCompletedEventHandler 
Public Event UploadValuesCompleted As UploadValuesCompletedEventHandler 

Remarks

每次异步上载 NameValueCollection 对象的数据完成时,将引发此事件。This event is raised each time an asynchronous upload of a NameValueCollection object's data completes. 这些上载通过调用 UploadValuesAsync 方法来启动。These uploads are started by calling the UploadValuesAsync methods.

UploadValuesCompletedEventHandler 是此事件的委托。The UploadValuesCompletedEventHandler is the delegate for this event. UploadValuesCompletedEventArgs 类向事件处理程序提供事件数据。The UploadValuesCompletedEventArgs class provides the event handler with event data.

有关如何处理事件的详细信息,请参阅处理和引发事件For more information about how to handle events, see Handling and Raising Events.

Applies to