CrestronFileTransferClientSetProgressCallBack Method |
Sets the callback info to receive a progress feedback from the client while uploading/downloading
Namespace: Crestron.SimplSharpAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic int SetProgressCallBack(
CrestronFileTransferClientUserProgressCallBack pFunc,
float freq
)
Parameters
- pFunc CrestronFileTransferClientUserProgressCallBack
- The callback function.
- freq Single
- The frequency of the progress calls in % of the completion. 0 means auto-frequency.
Return Value
Int32Zero if successful.
-1 if underlying object has not been properly initialized.
1 if internal error occurred. Use GetLastClientError() to retrieve the error code.
87 if invalid parameter was passed.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also