NodeFile Class

Definition

Exposes methods and properties to access files from Nodes or Tasks.

public abstract class NodeFile : Microsoft.Azure.Batch.IInheritedBehaviors
type NodeFile = class
    interface IInheritedBehaviors
Public MustInherit Class NodeFile
Implements IInheritedBehaviors
Inheritance
NodeFile
Implements

Properties

CustomBehaviors

Gets or sets a list of behaviors that modify or customize requests to the Batch service made via this NodeFile.

IsDirectory

Gets the value that indicates whether the file is a directory.

Name

Gets the name of the file.

Path

Gets the path of the file.

Properties

Gets the FileProperties of the file.

Url

Gets the URL of the file.

Methods

CopyToStream(Stream, GetFileRequestByteRange, IEnumerable<BatchClientBehavior>)

Blocking call to copy the contents of the file into the given Stream.

CopyToStreamAsync(Stream, GetFileRequestByteRange, IEnumerable<BatchClientBehavior>, CancellationToken)

Begins an asynchronous call to copy the contents of the file into the given Stream.

Delete(Nullable<Boolean>, IEnumerable<BatchClientBehavior>)

Blocking call to delete the file.

DeleteAsync(Nullable<Boolean>, IEnumerable<BatchClientBehavior>, CancellationToken)

Begins an asynchronous call to delete the file.

ReadAsString(Encoding, GetFileRequestByteRange, IEnumerable<BatchClientBehavior>)

Blocking call to return the contents of the file as a string.

ReadAsStringAsync(Encoding, GetFileRequestByteRange, IEnumerable<BatchClientBehavior>, CancellationToken)

Begins asynchronous call to return the contents of the file as a string.

Refresh(DetailLevel, IEnumerable<BatchClientBehavior>)

Refreshes the current NodeFile.

RefreshAsync(DetailLevel, IEnumerable<BatchClientBehavior>, CancellationToken)

Refreshes the current NodeFile.

Applies to