Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Deletes the entry from the archive.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Sub Delete
public void Delete()
public:
void Delete()
member Delete : unit -> unit
public function Delete()
Exceptions
Exception | Condition |
---|---|
IOException | The entry is already open for reading or writing. |
NotSupportedException | The ZipArchive that this entry belongs to was opened in a mode other than ZipArchiveMode.Update. |
ObjectDisposedException | The ZipArchive that this entry belongs to has been disposed. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.