Esporta (0) Stampa
Espandi tutto
Questo argomento non è stato ancora valutato - Valuta questo argomento

Metodo CloudBlob.BeginDelete (AsyncCallback, Object)

Begins an asynchronous operation to delete the blob.

Spazio dei nomi: Microsoft.WindowsAzure.StorageClient
Assembly: Microsoft.WindowsAzure.StorageClient (in microsoft.windowsazure.storageclient.dll)
'Utilizzo
Dim instance As CloudBlob
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginDelete(callback, state)
public IAsyncResult BeginDelete (
	AsyncCallback callback,
	Object state
)
public IAsyncResult BeginDelete (
	AsyncCallback callback, 
	Object state
)
public function BeginDelete (
	callback : AsyncCallback, 
	state : Object
) : IAsyncResult

Parametri

callback

The callback delegate that will receive notification when the asynchronous operation completes.

state

A user-defined object that will be passed to the callback delegate.

Valore restituito

An IAsyncResult that references the asynchronous operation.

A blob that has snapshots cannot be deleted unless the snapshots are also deleted. If a blob has snapshots, specify the options parameter, setting the DeleteSnapshotsOption property to specify how the snapshots should be handled when the blob is deleted.

The BeginDelete method will fail if the blob does not exist. To delete the blob only if it exists, use the BeginDeleteIfExists method.


Tutti i membri statici pubblici (Shared in Visual Basic) di questo tipo sono thread-safe. I membri di istanza non sono garantiti come thread-safe.

Piattaforme di sviluppo

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Server 2008 e Windows 2000

Piattaforme di destinazione

Il documento è risultato utile?
(1500 caratteri rimanenti)
Grazie per i commenti inviati.

Aggiunte alla community

Mostra:
© 2014 Microsoft. Tutti i diritti riservati.