ToolTask.DeleteTempFile(String) ToolTask.DeleteTempFile(String) ToolTask.DeleteTempFile(String) ToolTask.DeleteTempFile(String) Method

Definition

Deletes the specified temporary file.

protected:
 void DeleteTempFile(System::String ^ fileName);
protected void DeleteTempFile (string fileName);
member this.DeleteTempFile : string -> unit
Protected Sub DeleteTempFile (fileName As String)

Parameters

fileName
String String String String

The name of the temporary file to delete.

Remarks

If the delete operation fails for any reason (such as if a file is locked by antivirus software), then this method logs a warning rather than throwing an exception, which would cause the build to fail.

Applies to