Asynchronously uploads a file to the Central Campaign Server via the http server.
Namespace: ININ.IceLib.Configuration.DialerAssembly: ININ.IceLib.Dialer (in ININ.IceLib.Dialer.dll) Version: 0.0.0.0 (22.3.0.208)
Syntax
C# |
---|
public void UploadFileAsync( HttpRequestKey key, ResourceType resourceType, string filePath, EventHandler<AsyncCompletedEventArgs<bool>> completionCallback, Object state ) |
Visual Basic |
---|
Public Sub UploadFileAsync ( _ key As HttpRequestKey, _ resourceType As ResourceType, _ filePath As String, _ completionCallback As EventHandler(Of AsyncCompletedEventArgs(Of Boolean)), _ state As Object _ ) |
Parameters
- key
- Type: ININ.IceLib.Configuration.Dialer..::..HttpRequestKey
The request key that grants access to the http server.
- resourceType
- Type: ININ.IceLib.Configuration.Dialer..::..ResourceType
type of file to upload (Wave, UDL or TimezoneMap)
- filePath
- Type: System..::..String
The full path to the file to upload.
- completionCallback
- Type: System..::..EventHandler<(Of <(<'AsyncCompletedEventArgs<(Of <(<'Boolean>)>)>>)>)>
The method to call upon completion.
- state
- Type: System..::..Object