Share via


IDiscWriterApp.Erase Method

Causes a CD/DVD recording application to erase the contents of the currently selected disc.

Syntax

public bool Erase(
   CompletionCallback ce
);

Parameters

ce

Microsoft.MediaCenterMicrosoft.MediaCenter.ListMaker.CompletionCallback.  A delegate that the application calls to convey the success or failure of the erase operation.

Return Value

System.Boolean. It is true if the erase operation succeeded, and false otherwise.

Remarks

When Windows Media Center calls this method, the application should immediately begin erasing the disc, preferably as an asynchronous operation.

This method can raise list-maker exceptions.

Requirements

Reference: Microsoft.MediaCenter

Namespace: Microsoft.MediaCenter.ListMaker

Assembly: Microsoft.MediaCenter.dll

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also