JobOperations.DeleteNodeFileAsync Method (String, String, String, IEnumerable<BatchClientBehavior>)
Deletes the specified file from the task's directory on its compute node.
Namespace: Microsoft.Azure.Batch
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)
Syntax
public Task DeleteNodeFileAsync(
string jobId,
string taskId,
string fileName,
IEnumerable<BatchClientBehavior> additionalBehaviors = null
)
public:
Task^ DeleteNodeFileAsync(
String^ jobId,
String^ taskId,
String^ fileName,
IEnumerable<BatchClientBehavior^>^ additionalBehaviors = null
)
member DeleteNodeFileAsync :
jobId:string *
taskId:string *
fileName:string *
additionalBehaviors:IEnumerable<BatchClientBehavior> = null -> Task
Public Function DeleteNodeFileAsync (
jobId As String,
taskId As String,
fileName As String,
additionalBehaviors As IEnumerable(Of BatchClientBehavior)
) As Task
Parameters
jobId
Type: System.StringThe id of the job containing the task.
taskId
Type: System.StringThe id of the task.
fileName
Type: System.StringThe name of the file to delete.
additionalBehaviors
Type: System.Collections.Generic.IEnumerable<BatchClientBehavior>A collection of BatchClientBehavior instances that are applied to the Batch service request after the CustomBehaviors.
Return Value
Type: System.Threading.Tasks.Task
A Task that represents the asynchronous operation.
Remarks
The delete operation runs asynchronously.
See Also
JobOperations Class
Microsoft.Azure.Batch Namespace
Return to top