Storage Client Library for Windows Phone (Version 7.0)

Microsoft Windows Azure Storage Blob

CloudFileDirectory.EndDeleteIfExists Method (IAsyncResult) (Microsoft.WindowsAzure.Storage.File)

Returns the result of an asynchronous request to delete the directory if it already exists.

Namespace:   Microsoft.WindowsAzure.Storage.File
Assembly:  Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Syntax

 
public virtual bool EndDeleteIfExists(
	IAsyncResult asyncResult
)
 
public:
virtual bool EndDeleteIfExists(
	IAsyncResult^ asyncResult
)
 
abstract EndDeleteIfExists : 
        asyncResult:IAsyncResult -> bool
override EndDeleteIfExists : 
        asyncResult:IAsyncResult -> bool
 
Public Overridable Function EndDeleteIfExists (
	asyncResult As IAsyncResult
) As Boolean

Parameters

asyncResult
Type: System.IAsyncResultSystem::IAsyncResult^System.IAsyncResultSystem.IAsyncResult

An IAsyncResult that references the pending asynchronous operation.

Return Value

Type: System.BooleanSystem::BooleanSystem.BooleanSystem.Boolean

true if the directory did already exist and was deleted; otherwise, false.

Return to top