Upload a new file. This method does not block the calling thread.

Namespace:  IpernityNET.IpernityObjects
Assembly:  IpernityNET (in IpernityNET.dll) Version: 0.3.1.0 (0.3.1.0)

Syntax

C#
public void UploadReplaceAsync(
	string filename,
	int docId
)
Visual Basic (Declaration)
Public Sub UploadReplaceAsync ( _
	filename As String, _
	docId As Integer _
)
Visual C++
public:
void UploadReplaceAsync(
	String^ filename, 
	int docId
)

Parameters

filename
Type: System..::.String
The file name to upload
docId
Type: System..::.Int32
The document ID to replace

Remarks

This method encapsulates upload.replace This method requires "write" permission on docs. This method requires a PRO account

Exceptions

ExceptionCondition
IpernityNET..::.IpernityExceptionThrowed when Ipernity returned an error
IpernityNET.IpernityObjects..::.ObjectNotConfiguredExceptionThrowed when an Ipernity object has not been configured. Use the method ConfigureIpernityObject(IpernityObject) to configure the object and allow it to interact with Ipernity

See Also