Share via


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.String

    The id of the pool that contains the compute node.

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