In The Hand LtdIn The Hand
UploadValuesAsync Method (address, method, data, userToken)
NamespacesInTheHand.NetWebClientUploadValuesAsync(Uri, String, NameValueCollection, Object)
.NET Components for Mobility
Uploads the data in the specified name/value collection to the resource identified by the specified URI, using the specified method. This method does not block the calling thread, and allows the caller to pass an object to the method that is invoked when the operation completes.
Declaration Syntax
C#Visual Basic
public void UploadValuesAsync(
	Uri address,
	string method,
	NameValueCollection data,
	Object userToken
)
Public Sub UploadValuesAsync ( _
	address As Uri, _
	method As String, _
	data As NameValueCollection, _
	userToken As Object _
)
Parameters
address (Uri)
The URI of the resource to receive the collection. This URI must identify a resource that can accept a request sent with the method method.
method (String)
The HTTP method used to send the string to the resource. If null, the default is POST for http and STOR for ftp.
data (NameValueCollection)
The NameValueCollection to send to the resource.
userToken (Object)
A user-defined object that is passed to the method invoked when the asynchronous operation completes.

Assembly: InTheHand.Net (Module: InTheHand.Net) Version: 7.0.0.0