PoolOperations.DeleteNodeFileAsync Method (String, String, String, IEnumerable<BatchClientBehavior>, CancellationToken)
Deletes the specified file from the specified compute node.
Namespace: Microsoft.Azure.Batch
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)
Syntax
public Task DeleteNodeFileAsync(
string poolId,
string computeNodeId,
string fileName,
IEnumerable<BatchClientBehavior> additionalBehaviors = null,
CancellationToken cancellationToken = null
)
public:
Task^ DeleteNodeFileAsync(
String^ poolId,
String^ computeNodeId,
String^ fileName,
IEnumerable<BatchClientBehavior^>^ additionalBehaviors = null,
CancellationToken cancellationToken = null
)
member DeleteNodeFileAsync :
poolId:string *
computeNodeId:string *
fileName:string *
additionalBehaviors:IEnumerable<BatchClientBehavior> = null *
cancellationToken:CancellationToken = null -> Task
Public Function DeleteNodeFileAsync (
poolId As String,
computeNodeId As String,
fileName As String,
additionalBehaviors As IEnumerable(Of BatchClientBehavior),
cancellationToken As CancellationToken
) As Task
Parameters
poolId
Type: System.StringThe id of the pool that contains the compute node.
computeNodeId
Type: System.StringThe id of the compute node.
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.
cancellationToken
Type: System.Threading.CancellationTokenA CancellationToken for controlling the lifetime of the asynchronous operation.
Return Value
Type: System.Threading.Tasks.Task
A Task that represents the asynchronous operation.
Remarks
The delete operation runs asynchronously.
See Also
PoolOperations Class
Microsoft.Azure.Batch Namespace
Return to top