Upload a file from a stream. 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( UploadFileParameters parameters, UploadStream upStream ) |
Visual Basic (Declaration) |
---|
Public Sub UploadFileAsync ( _ parameters As UploadFileParameters, _ upStream As UploadStream _ ) |
Visual C++ |
---|
public: void UploadFileAsync( UploadFileParameters^ parameters, UploadStream^ upStream ) |
Parameters
- parameters
- Type: IpernityNET..::.UploadFileParameters
A UploadFileParameters object containing the all the others parameters for the upload
- upStream
- Type: IpernityNET..::.UploadStream
An UploadStream object containing the stream and the file name to use
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 |