MobileFileDeleteAsync Method (Boolean) |
Deletes the file.
Namespace: Oracle.Cloud.Mobile.Synchronization.MobileEndpointAssemblies: Oracle.Cloud.Mobile.Synchronization.PCL (in Oracle.Cloud.Mobile.Synchronization.PCL.dll) Version: 16.1.3.1 (16.1.3.1)
Oracle.Cloud.Mobile (in Oracle.Cloud.Mobile.dll) Version: 16.1.3.1 (16.1.3.1)
Syntaxpublic Task DeleteAsync(
bool deleteIfOffline
)
Public Function DeleteAsync (
deleteIfOffline As Boolean
) As Task
public:
Task^ DeleteAsync(
bool deleteIfOffline
)
member DeleteAsync :
deleteIfOffline : bool -> Task
Parameters
- deleteIfOffline
- Type: SystemBoolean
If true will cache the delete locally and sync back to the service if the device is offline, if false will fail if the device is offline.
Return Value
Type:
TaskAn awaitable object.
See Also