Upload a file from a file name. This method does not block the calling thread.
Namespace:
IpernityNET.IpernityObjectsAssembly: IpernityNET (in IpernityNET.dll) Version: 0.3.1.0 (0.3.1.0)
Syntax
C# |
---|
public void UploadFileAsync( string filename, string title, string description ) |
Visual Basic (Declaration) |
---|
Public Sub UploadFileAsync ( _ filename As String, _ title As String, _ description As String _ ) |
Visual C++ |
---|
public: void UploadFileAsync( String^ filename, String^ title, String^ description ) |
Parameters
- filename
- Type: System..::.String
The filename of the file to upload
- title
- Type: System..::.String
The title of the file
- description
- Type: System..::.String
The description of the file
Remarks
This method encapsulates upload.file
This method requires "write" permission on docs.
Exceptions
Exception | Condition |
---|---|
IpernityNET.IpernityObjects..::.ObjectNotConfiguredException | Throwed when an Ipernity object has not been configured. Use the method ConfigureIpernityObject(IpernityObject) to configure the object and allow it to interact with Ipernity |