CloudFile Members

Represents a file in the Windows Azure File service.

The following tables list the members exposed by the CloudFile type.

Public Constructors

  Name Description
  CloudFile Overloaded.  

Top

Public Properties

  Name Description
public property Metadata Gets the user-defined metadata for the file.
public property Name Gets the file's name.
public property Parent Gets the CloudFileDirectory object representing the parent directory for the file.
public property Properties Gets the file's system properties.
public property ServiceClient Gets the CloudFileClient object that represents the File service.
public property Share Gets a CloudFileShare object representing the file's share.
public property StorageUri Gets the absolute URI to the file.
public property StreamMinimumReadSizeInBytes Gets or sets the minimum number of bytes to buffer when reading from a file stream.
public property StreamWriteSizeInBytes Gets or sets the number of bytes to buffer when writing to a file stream.
public property Uri Gets the file's URI.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method BeginClearRange Overloaded.  
public method BeginCreate Overloaded.  
public method BeginDelete Overloaded.  
public method BeginDeleteIfExists Overloaded.  
public method BeginDownloadRangeToByteArray Overloaded.  
public method BeginDownloadRangeToStream Overloaded.  
public method BeginDownloadText Overloaded.  
public method BeginDownloadToByteArray Overloaded.  
public method BeginDownloadToFile Overloaded.  
public method BeginDownloadToStream Overloaded.  
public method BeginExists Overloaded.  
public method BeginFetchAttributes Overloaded.  
public method BeginListRanges Overloaded.  
public method BeginOpenRead Overloaded.  
public method BeginOpenWrite Overloaded.  
public method BeginResize Overloaded.  
public method BeginSetMetadata Overloaded.  
public method BeginSetProperties Overloaded.  
public method BeginUploadFromByteArray Overloaded.  
public method BeginUploadFromFile Overloaded.  
public method BeginUploadFromStream Overloaded.  
public method BeginUploadText Overloaded.  
public method BeginWriteRange Overloaded.  
public method ClearRange Clears ranges from a file.
public method ClearRangeAsync Overloaded.  
public method Create Creates a file.
public method CreateAsync Overloaded.  
public method Delete Deletes the file.
public method DeleteAsync Overloaded.  
public method DeleteIfExists Deletes the file if it already exists.
public method DeleteIfExistsAsync Overloaded.  
public method DownloadRangeToByteArray Downloads the contents of a file to a byte array.
public method DownloadRangeToByteArrayAsync Overloaded.  
public method DownloadRangeToStream Downloads the contents of a file to a stream.
public method DownloadRangeToStreamAsync Overloaded.  
public method DownloadText Downloads the file's contents as a string.
public method DownloadTextAsync Overloaded.  
public method DownloadToByteArray Downloads the contents of a file to a byte array.
public method DownloadToByteArrayAsync Overloaded.  
public method DownloadToFile Downloads the contents of a file in the File service to a local file.
public method DownloadToFileAsync Overloaded.  
public method DownloadToStream Downloads the contents of a file to a stream.
public method DownloadToStreamAsync Overloaded.  
public method EndClearRange Ends an asynchronous operation to clear ranges from a file.
public method EndCreate Ends an asynchronous operation to create a file.
public method EndDelete Ends an asynchronous operation to delete the file.
public method EndDeleteIfExists Returns the result of an asynchronous request to delete the file if it already exists.
public method EndDownloadRangeToByteArray Ends an asynchronous operation to download the contents of a file to a byte array.
public method EndDownloadRangeToStream Ends an asynchronous operation to download the contents of a file to a stream.
public method EndDownloadText Ends an asynchronous operation to download the file's contents as a string.
public method EndDownloadToByteArray Ends an asynchronous operation to download the contents of a file to a byte array.
public method EndDownloadToFile Ends an asynchronous operation to download the contents of a file in the File service to a local file.
public method EndDownloadToStream Ends an asynchronous operation to download the contents of a file to a stream.
public method EndExists Returns the asynchronous result of the request to check existence of the file.
public method EndFetchAttributes Ends an asynchronous operation to populate the file's properties and metadata.
public method EndListRanges Ends an asynchronous operation to return a collection of valid ranges and their starting and ending bytes.
public method EndOpenRead Ends an asynchronous operation to open a stream for reading from the file.
public method EndOpenWrite Ends an asynchronous operation to open a stream for writing to the file.
public method EndResize Ends an asynchronous operation to resize a file.
public method EndSetMetadata Ends an asynchronous operation to update the file's metadata.
public method EndSetProperties Ends an asynchronous operation to update the file's properties.
public method EndUploadFromByteArray Ends an asynchronous operation to upload the contents of a byte array to a file.
public method EndUploadFromFile Ends an asynchronous operation to upload a file to the File service.
public method EndUploadFromStream Ends an asynchronous operation to upload a stream to a file.
public method EndUploadText Ends an asynchronous operation to upload a string of text to a file.
public method EndWriteRange Ends an asynchronous operation to write a range to a file.
public method Equals  (Inherited from Object)
public method Exists Checks existence of the file.
public method ExistsAsync Overloaded.  
public method FetchAttributes Populates a file's properties and metadata.
public method FetchAttributesAsync Overloaded.  
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method ListRanges Gets a collection of valid ranges and their starting and ending bytes.
public method ListRangesAsync Overloaded.  
public method OpenRead Opens a stream for reading from the file.
public method OpenReadAsync Overloaded.  
public method OpenWrite Opens a stream for writing to the file.
public method OpenWriteAsync Overloaded.  
public method Resize Resizes a file.
public method ResizeAsync Overloaded.  
public method SetMetadata Updates the file's metadata.
public method SetMetadataAsync Overloaded.  
public method SetProperties Updates the file's properties.
public method SetPropertiesAsync Overloaded.  
public method ToString  (Inherited from Object)
public method UploadFromByteArray Uploads the contents of a byte array to a file.
public method UploadFromByteArrayAsync Overloaded.  
public method UploadFromFile Uploads a file to the File service.
public method UploadFromFileAsync Overloaded.  
public method UploadFromStream Overloaded.  
public method UploadFromStreamAsync Overloaded.  
public method UploadText Uploads a string of text to a file.
public method UploadTextAsync Overloaded.  
public method WriteRange Writes range to a file.
public method WriteRangeAsync Overloaded.  

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Top

See Also

Reference

CloudFile Class
Microsoft.WindowsAzure.Storage.File Namespace