CloudFile Class

Definition

Represents a file in the Microsoft Azure File service.

public class CloudFile : Microsoft.Azure.Storage.File.IListFileItem
type CloudFile = class
    interface IListFileItem
Public Class CloudFile
Implements IListFileItem
Inheritance
CloudFile
Implements

Constructors

CloudFile(StorageUri, StorageCredentials)

Initializes a new instance of the CloudFile class using an absolute URI to the file.

CloudFile(Uri, StorageCredentials)

Initializes a new instance of the CloudFile class using an absolute URI to the file.

CloudFile(Uri)

Initializes a new instance of the CloudFile class using an absolute URI to the file.

Properties

CopyState

Gets the state of the most recent or pending copy operation.

FilePermission

The file permission to set on the next File Create or Set Properties call. This field will be null after File.Create, File.SetProperties, File.GetProperties, and File.Get calls.

Metadata

Gets the user-defined metadata for the file.

Name

Gets the file's name.

Parent

Gets the CloudFileDirectory object representing the parent directory for the file.

Properties

Gets the file's system properties.

ServiceClient

Gets the CloudFileClient object that represents the File service.

Share

Gets a CloudFileShare object representing the file's share.

SnapshotQualifiedStorageUri

Gets the file's URI for both the primary and secondary locations, including query string information if the file's share is a snapshot.

SnapshotQualifiedUri

Gets the absolute URI to the file, including query string information if the file's share is a snapshot.

StorageUri

Gets the absolute URI to the file.

StreamMinimumReadSizeInBytes

Gets or sets the minimum number of bytes to buffer when reading from a file stream.

StreamWriteSizeInBytes

Gets or sets the number of bytes to buffer when writing to a file stream.

Uri

Gets the file's URI.

Methods

AbortCopy(String, AccessCondition, FileRequestOptions, OperationContext)

Aborts an ongoing copy operation.

AbortCopyAsync(String, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to abort an ongoing copy operation.

AbortCopyAsync(String, AccessCondition, FileRequestOptions, OperationContext)

Initiates an asynchronous operation to abort an ongoing copy operation.

AbortCopyAsync(String, CancellationToken)

Initiates an asynchronous operation to abort an ongoing copy operation.

AbortCopyAsync(String)

Initiates an asynchronous operation to abort an ongoing copy operation.

BeginAbortCopy(String, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to abort an ongoing copy operation.

BeginAbortCopy(String, AsyncCallback, Object)

Begins an asynchronous operation to abort an ongoing copy operation.

BeginClearRange(Int64, Int64, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to clear ranges from a file.

BeginClearRange(Int64, Int64, AsyncCallback, Object)

Begins an asynchronous operation to clear ranges from a file.

BeginCloseAllHandlesSegmented(FileContinuationToken, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to close all SMB handles on this file.

BeginCloseHandleSegmented(String, FileContinuationToken, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to close the specified SMB handle on this file.

BeginCreate(Int64, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to create a file. If the file already exists, it will be overwritten.

BeginCreate(Int64, AsyncCallback, Object)

Begins an asynchronous operation to create a file. If the file already exists, it will be overwritten.

BeginDelete(AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to delete the file.

BeginDelete(AsyncCallback, Object)

Begins an asynchronous operation to delete the file.

BeginDeleteIfExists(AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous request to delete the file if it already exists.

BeginDeleteIfExists(AsyncCallback, Object)

Begins an asynchronous request to delete the file if it already exists.

BeginDownloadRangeToByteArray(Byte[], Int32, Nullable<Int64>, Nullable<Int64>, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to download the contents of a file to a byte array.

BeginDownloadRangeToByteArray(Byte[], Int32, Nullable<Int64>, Nullable<Int64>, AsyncCallback, Object)

Begins an asynchronous operation to download the contents of a file to a byte array.

BeginDownloadRangeToStream(Stream, Nullable<Int64>, Nullable<Int64>, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to download the contents of a file to a stream.

BeginDownloadRangeToStream(Stream, Nullable<Int64>, Nullable<Int64>, AsyncCallback, Object)

Begins an asynchronous operation to download the contents of a file to a stream.

BeginDownloadText(AsyncCallback, Object)

Begins an asynchronous operation to download the file's contents as a string.

BeginDownloadText(Encoding, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to download the file's contents as a string.

BeginDownloadToByteArray(Byte[], Int32, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to download the contents of a file to a byte array.

BeginDownloadToByteArray(Byte[], Int32, AsyncCallback, Object)

Begins an asynchronous operation to download the contents of a file to a byte array.

BeginDownloadToFile(String, FileMode, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to download the contents of a file in the File service to a local file.

BeginDownloadToFile(String, FileMode, AsyncCallback, Object)

Begins an asynchronous operation to download the contents of a file in the File service to a local file.

BeginDownloadToStream(Stream, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to download the contents of a file to a stream.

BeginDownloadToStream(Stream, AsyncCallback, Object)

Begins an asynchronous operation to download the contents of a file to a stream.

BeginExists(AsyncCallback, Object)

Begins an asynchronous request to check existence of the file.

BeginExists(FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous request to check existence of the file.

BeginFetchAttributes(AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to populate the file's properties and metadata.

BeginFetchAttributes(AsyncCallback, Object)

Begins an asynchronous operation to populate the file's properties and metadata.

BeginListHandlesSegmented(FileContinuationToken, Nullable<Int32>, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to get the SMB handles open on this file.

BeginListRanges(AsyncCallback, Object)

Begins an asynchronous operation to return a collection of valid ranges and their starting and ending bytes.

BeginListRanges(Nullable<Int64>, Nullable<Int64>, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to return a collection of valid ranges and their starting and ending bytes.

BeginOpenRead(AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to open a stream for reading from the file.

BeginOpenRead(AsyncCallback, Object)

Begins an asynchronous operation to open a stream for reading from the file.

BeginOpenWrite(Nullable<Int64>, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to open a stream for writing to the file. If the file already exists, then existing data in the file may be overwritten.

BeginOpenWrite(Nullable<Int64>, AsyncCallback, Object)

Begins an asynchronous operation to open a stream for writing to the file. If the file already exists, then existing data in the file may be overwritten.

BeginResize(Int64, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to resize a file.

BeginResize(Int64, AsyncCallback, Object)

Begins an asynchronous operation to resize a file.

BeginSetMetadata(AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to update the file's metadata.

BeginSetMetadata(AsyncCallback, Object)

Begins an asynchronous operation to update the file's metadata.

BeginSetProperties(AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to update the file's properties.

BeginSetProperties(AsyncCallback, Object)

Begins an asynchronous operation to update the file's properties.

BeginStartCopy(CloudFile, AccessCondition, AccessCondition, FileCopyOptions, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to start copying another file's contents, properties, and metadata to this file.

BeginStartCopy(CloudFile, AccessCondition, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to start copying another file's contents, properties, and metadata to this file.

BeginStartCopy(CloudFile, AsyncCallback, Object)

Begins an asynchronous operation to start copying another file's contents, properties, and metadata to this file.

BeginStartCopy(Uri, AccessCondition, AccessCondition, FileCopyOptions, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file.

BeginStartCopy(Uri, AccessCondition, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file.

BeginStartCopy(Uri, AsyncCallback, Object)

Begins an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file.

BeginUploadFromByteArray(Byte[], Int32, Int32, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to upload the contents of a byte array to a file. If the file already exists on the service, it will be overwritten.

BeginUploadFromByteArray(Byte[], Int32, Int32, AsyncCallback, Object)

Begins an asynchronous operation to upload the contents of a byte array to a file. If the file already exists on the service, it will be overwritten.

BeginUploadFromFile(String, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to upload a file to the File service. If the file already exists on the service, it will be overwritten.

BeginUploadFromFile(String, AsyncCallback, Object)

Begins an asynchronous operation to upload a file to the File service. If the file already exists on the service, it will be overwritten.

BeginUploadFromStream(Stream, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten.

BeginUploadFromStream(Stream, AsyncCallback, Object)

Begins an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten.

BeginUploadFromStream(Stream, Int64, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten.

BeginUploadFromStream(Stream, Int64, AsyncCallback, Object)

Begins an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten.

BeginUploadText(String, AsyncCallback, Object)

Begins an asynchronous operation to upload a string of text to a file. If the file already exists on the service, it will be overwritten.

BeginUploadText(String, Encoding, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to upload a string of text to a file. If the file already exists on the service, it will be overwritten.

BeginWriteRange(Stream, Int64, String, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to write a range to a file.

BeginWriteRange(Stream, Int64, String, AccessCondition, FileRequestOptions, OperationContext, IProgress<StorageProgress>, AsyncCallback, Object)
BeginWriteRange(Stream, Int64, String, AsyncCallback, Object)

Begins an asynchronous operation to write a range to a file.

ClearRange(Int64, Int64, AccessCondition, FileRequestOptions, OperationContext)

Clears ranges from a file.

ClearRangeAsync(Int64, Int64, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to clear ranges from a file.

ClearRangeAsync(Int64, Int64, AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to clear ranges from a file.

ClearRangeAsync(Int64, Int64, CancellationToken)

Returns a task that performs an asynchronous operation to clear ranges from a file.

ClearRangeAsync(Int64, Int64)

Returns a task that performs an asynchronous operation to clear ranges from a file.

CloseAllHandlesSegmented(FileContinuationToken, AccessCondition, FileRequestOptions, OperationContext)

Closes all SMB handles on this file.

CloseAllHandlesSegmentedAsync(FileContinuationToken, AccessCondition, FileRequestOptions, OperationContext, Nullable<CancellationToken>)

Returns a task that performs an asynchronous operation to close all SMB handles on this file.

CloseHandleSegmented(String, FileContinuationToken, AccessCondition, FileRequestOptions, OperationContext)

Closes the specified SMB handle on this file.

CloseHandleSegmentedAsync(String, FileContinuationToken, AccessCondition, FileRequestOptions, OperationContext, Nullable<CancellationToken>)

Returns a task that performs an asynchronous operation to close the specified SMB handle on this file.

Create(Int64, AccessCondition, FileRequestOptions, OperationContext)

Creates a file. If the file already exists, it will be overwritten.3584

CreateAsync(Int64, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to create a file. If the file already exists, it will be overwritten.

CreateAsync(Int64, AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to create a file. If the file already exists, it will be overwritten.

CreateAsync(Int64, CancellationToken)

Returns a task that performs an asynchronous operation to create a file. If the file already exists, it will be overwritten.

CreateAsync(Int64)

Returns a task that performs an asynchronous operation to create a file. If the file already exists, it will be overwritten.

Delete(AccessCondition, FileRequestOptions, OperationContext)

Deletes the file.

DeleteAsync()

Returns a task that performs an asynchronous operation to delete the file.

DeleteAsync(AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to delete the file.

DeleteAsync(AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to delete the file.

DeleteAsync(CancellationToken)

Returns a task that performs an asynchronous operation to delete the file.

DeleteIfExists(AccessCondition, FileRequestOptions, OperationContext)

Deletes the file if it already exists.

DeleteIfExistsAsync()

Returns a task that performs an asynchronous request to delete the file if it already exists.

DeleteIfExistsAsync(AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous request to delete the file if it already exists.

DeleteIfExistsAsync(AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous request to delete the file if it already exists.

DeleteIfExistsAsync(CancellationToken)

Returns a task that performs an asynchronous request to delete the file if it already exists.

DownloadRangeToByteArray(Byte[], Int32, Nullable<Int64>, Nullable<Int64>, AccessCondition, FileRequestOptions, OperationContext)

Downloads the contents of a file to a byte array.

DownloadRangeToByteArrayAsync(Byte[], Int32, Nullable<Int64>, Nullable<Int64>, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to download the contents of a file to a byte array.

DownloadRangeToByteArrayAsync(Byte[], Int32, Nullable<Int64>, Nullable<Int64>, AccessCondition, FileRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

Returns a task that performs an asynchronous operation to download the contents of a file to a byte array.

DownloadRangeToByteArrayAsync(Byte[], Int32, Nullable<Int64>, Nullable<Int64>, AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to download the contents of a file to a byte array.

DownloadRangeToByteArrayAsync(Byte[], Int32, Nullable<Int64>, Nullable<Int64>, CancellationToken)

Returns a task that performs an asynchronous operation to download the contents of a file to a byte array.

DownloadRangeToByteArrayAsync(Byte[], Int32, Nullable<Int64>, Nullable<Int64>)

Returns a task that performs an asynchronous operation to download the contents of a file to a byte array.

DownloadRangeToStream(Stream, Nullable<Int64>, Nullable<Int64>, AccessCondition, FileRequestOptions, OperationContext)

Downloads the contents of a file to a stream.

DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to download the contents of a file to a stream.

DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, AccessCondition, FileRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

Returns a task that performs an asynchronous operation to download the contents of a file to a stream.

DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to download the contents of a file to a stream.

DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>, CancellationToken)

Returns a task that performs an asynchronous operation to download the contents of a file to a stream.

DownloadRangeToStreamAsync(Stream, Nullable<Int64>, Nullable<Int64>)

Returns a task that performs an asynchronous operation to download the contents of a file to a stream.

DownloadText(Encoding, AccessCondition, FileRequestOptions, OperationContext)

Downloads the file's contents as a string.

DownloadTextAsync()

Returns a task that performs an asynchronous operation to download the file's contents as a string.

DownloadTextAsync(CancellationToken)

Returns a task that performs an asynchronous operation to download the file's contents as a string.

DownloadTextAsync(Encoding, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to download the file's contents as a string.

DownloadTextAsync(Encoding, AccessCondition, FileRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

Returns a task that performs an asynchronous operation to download the file's contents as a string.

DownloadTextAsync(Encoding, AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to download the file's contents as a string.

DownloadToByteArray(Byte[], Int32, AccessCondition, FileRequestOptions, OperationContext)

Downloads the contents of a file to a byte array.

DownloadToByteArrayAsync(Byte[], Int32, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to download the contents of a file to a byte array.

DownloadToByteArrayAsync(Byte[], Int32, AccessCondition, FileRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

Returns a task that performs an asynchronous operation to download the contents of a file to a byte array.

DownloadToByteArrayAsync(Byte[], Int32, AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to download the contents of a file to a byte array.

DownloadToByteArrayAsync(Byte[], Int32, CancellationToken)

Returns a task that performs an asynchronous operation to download the contents of a file to a byte array.

DownloadToByteArrayAsync(Byte[], Int32)

Returns a task that performs an asynchronous operation to download the contents of a file to a byte array.

DownloadToFile(String, FileMode, AccessCondition, FileRequestOptions, OperationContext)

Downloads the contents of a file in the File service to a local file.

DownloadToFileAsync(String, FileMode, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to download the contents of a file in the File service to a local file.

DownloadToFileAsync(String, FileMode, AccessCondition, FileRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

Returns a task that performs an asynchronous operation to download the contents of a file in the File service to a local file.

DownloadToFileAsync(String, FileMode, AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to download the contents of a file in the File service to a local file.

DownloadToFileAsync(String, FileMode, CancellationToken)

Returns a task that performs an asynchronous operation to download the contents of a file in the File service to a local file.

DownloadToFileAsync(String, FileMode)

Returns a task that performs an asynchronous operation to download the contents of a file in the File service to a local file.

DownloadToStream(Stream, AccessCondition, FileRequestOptions, OperationContext)

Downloads the contents of a file to a stream.

DownloadToStreamAsync(Stream, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to download the contents of a file to a stream.

DownloadToStreamAsync(Stream, AccessCondition, FileRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

Returns a task that performs an asynchronous operation to download the contents of a file to a stream.

DownloadToStreamAsync(Stream, AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to download the contents of a file to a stream.

DownloadToStreamAsync(Stream, CancellationToken)

Returns a task that performs an asynchronous operation to download the contents of a file to a stream.

DownloadToStreamAsync(Stream)

Returns a task that performs an asynchronous operation to download the contents of a file to a stream.

EndAbortCopy(IAsyncResult)

Ends an asynchronous operation to abort an ongoing copy operation.

EndClearRange(IAsyncResult)

Ends an asynchronous operation to clear ranges from a file.

EndCloseAllHandlesSegmented(IAsyncResult)

Ends an asynchronous operation to close all SMB handles on this file.

EndCloseHandleSegmented(IAsyncResult)

Ends an asynchronous operation to close the specified SMB handle on this file.

EndCreate(IAsyncResult)

Ends an asynchronous operation to create a file.

EndDelete(IAsyncResult)

Ends an asynchronous operation to delete the file.

EndDeleteIfExists(IAsyncResult)

Returns the result of an asynchronous request to delete the file if it already exists.

EndDownloadRangeToByteArray(IAsyncResult)

Ends an asynchronous operation to download the contents of a file to a byte array.

EndDownloadRangeToStream(IAsyncResult)

Ends an asynchronous operation to download the contents of a file to a stream.

EndDownloadText(IAsyncResult)

Ends an asynchronous operation to download the file's contents as a string.

EndDownloadToByteArray(IAsyncResult)

Ends an asynchronous operation to download the contents of a file to a byte array.

EndDownloadToFile(IAsyncResult)

Ends an asynchronous operation to download the contents of a file in the File service to a local file.

EndDownloadToStream(IAsyncResult)

Ends an asynchronous operation to download the contents of a file to a stream.

EndExists(IAsyncResult)

Returns the asynchronous result of the request to check existence of the file.

EndFetchAttributes(IAsyncResult)

Ends an asynchronous operation to populate the file's properties and metadata.

EndListHandlesSegmented(IAsyncResult)

Ends an asynchronous operation to get the SMB handles open on this file.

EndListRanges(IAsyncResult)

Ends an asynchronous operation to return a collection of valid ranges and their starting and ending bytes.

EndOpenRead(IAsyncResult)

Ends an asynchronous operation to open a stream for reading from the file.

EndOpenWrite(IAsyncResult)

Ends an asynchronous operation to open a stream for writing to the file.

EndResize(IAsyncResult)

Ends an asynchronous operation to resize a file.

EndSetMetadata(IAsyncResult)

Ends an asynchronous operation to update the file's metadata.

EndSetProperties(IAsyncResult)

Ends an asynchronous operation to update the file's properties.

EndStartCopy(IAsyncResult)

Ends an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file.

EndUploadFromByteArray(IAsyncResult)

Ends an asynchronous operation to upload the contents of a byte array to a file.

EndUploadFromFile(IAsyncResult)

Ends an asynchronous operation to upload a file to the File service.

EndUploadFromStream(IAsyncResult)

Ends an asynchronous operation to upload a stream to a file.

EndUploadText(IAsyncResult)

Ends an asynchronous operation to upload a string of text to a file.

EndWriteRange(IAsyncResult)

Ends an asynchronous operation to write a range to a file.

Exists(FileRequestOptions, OperationContext)

Checks existence of the file.

ExistsAsync()

Returns a task that performs an asynchronous request to check existence of the file.

ExistsAsync(CancellationToken)

Returns a task that performs an asynchronous request to check existence of the file.

ExistsAsync(FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous request to check existence of the file.

ExistsAsync(FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous request to check existence of the file.

FetchAttributes(AccessCondition, FileRequestOptions, OperationContext)

Populates a file's properties and metadata.

FetchAttributesAsync()

Returns a task that performs an asynchronous operation to populate the file's properties and metadata.

FetchAttributesAsync(AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to populate the file's properties and metadata.

FetchAttributesAsync(AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to populate the file's properties and metadata.

FetchAttributesAsync(CancellationToken)

Returns a task that performs an asynchronous operation to populate the file's properties and metadata.

GetSharedAccessSignature(SharedAccessFilePolicy, SharedAccessFileHeaders, String, Nullable<SharedAccessProtocol>, IPAddressOrRange)

Returns a shared access signature for the file.

GetSharedAccessSignature(SharedAccessFilePolicy, SharedAccessFileHeaders, String)

Returns a shared access signature for the file.

GetSharedAccessSignature(SharedAccessFilePolicy, SharedAccessFileHeaders)

Returns a shared access signature for the file.

GetSharedAccessSignature(SharedAccessFilePolicy, String)

Returns a shared access signature for the file.

GetSharedAccessSignature(SharedAccessFilePolicy)

Returns a shared access signature for the file.

ListHandlesSegmented(FileContinuationToken, Nullable<Int32>, AccessCondition, FileRequestOptions, OperationContext)

Gets the SMB handles open on this file.

ListHandlesSegmentedAsync(FileContinuationToken, Nullable<Int32>, AccessCondition, FileRequestOptions, OperationContext, Nullable<CancellationToken>)

Returns a task that performs an asynchronous operation to get the SMB handles open on this file.

ListRanges(Nullable<Int64>, Nullable<Int64>, AccessCondition, FileRequestOptions, OperationContext)

Gets a collection of valid ranges and their starting and ending bytes.

ListRangesAsync()

Returns a task that performs an asynchronous operation to return a collection of valid ranges and their starting and ending bytes.

ListRangesAsync(CancellationToken)

Returns a task that performs an asynchronous operation to return a collection of valid ranges and their starting and ending bytes.

ListRangesAsync(Nullable<Int64>, Nullable<Int64>, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to return a collection of valid ranges and their starting and ending bytes.

ListRangesAsync(Nullable<Int64>, Nullable<Int64>, AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to return a collection of valid ranges and their starting and ending bytes.

OpenRead(AccessCondition, FileRequestOptions, OperationContext)

Opens a stream for reading from the file.

OpenReadAsync()

Returns a task that performs an asynchronous operation to open a stream for reading from the file.

OpenReadAsync(AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to open a stream for reading from the file.

OpenReadAsync(AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to open a stream for reading from the file.

OpenReadAsync(CancellationToken)

Returns a task that performs an asynchronous operation to open a stream for reading from the file.

OpenWrite(Nullable<Int64>, AccessCondition, FileRequestOptions, OperationContext)

Opens a stream for writing to the file. If the file already exists, then existing data in the file may be overwritten.

OpenWriteAsync(Nullable<Int64>, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to open a stream for writing to the file. If the file already exists, then existing data in the file may be overwritten.

OpenWriteAsync(Nullable<Int64>, AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to open a stream for writing to the file. If the file already exists, then existing data in the file may be overwritten.

OpenWriteAsync(Nullable<Int64>, CancellationToken)

Returns a task that performs an asynchronous operation to open a stream for writing to the file. If the file already exists, then existing data in the file may be overwritten.

OpenWriteAsync(Nullable<Int64>)

Returns a task that performs an asynchronous operation to open a stream for writing to the file. If the file already exists, then existing data in the file may be overwritten.

Resize(Int64, AccessCondition, FileRequestOptions, OperationContext)

Resizes a file.

ResizeAsync(Int64, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to resize a file.

ResizeAsync(Int64, AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to resize a file.

ResizeAsync(Int64, CancellationToken)

Returns a task that performs an asynchronous operation to resize a file.

ResizeAsync(Int64)

Returns a task that performs an asynchronous operation to resize a file.

SetMetadata(AccessCondition, FileRequestOptions, OperationContext)

Updates the file's metadata.

SetMetadataAsync()

Returns a task that performs an asynchronous operation to update the file's metadata.

SetMetadataAsync(AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to update the file's metadata.

SetMetadataAsync(AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to update the file's metadata.

SetMetadataAsync(CancellationToken)

Returns a task that performs an asynchronous operation to update the file's metadata.

SetProperties(AccessCondition, FileRequestOptions, OperationContext)

Updates the file's properties.

SetPropertiesAsync()

Returns a task that performs an asynchronous operation to update the file's properties.

SetPropertiesAsync(AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to update the file's properties.

SetPropertiesAsync(AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to update the file's properties.

SetPropertiesAsync(CancellationToken)

Returns a task that performs an asynchronous operation to update the file's properties.

StartCopy(CloudFile, AccessCondition, AccessCondition, FileCopyOptions, FileRequestOptions, OperationContext)

Begins an operation to start copying another file's contents, properties, and metadata to this file.

StartCopy(CloudFile, AccessCondition, AccessCondition, FileRequestOptions, OperationContext)

Begins an operation to start copying another file's contents, properties, and metadata to this file.

StartCopy(Uri, AccessCondition, AccessCondition, FileCopyOptions, FileRequestOptions, OperationContext)

Begins an operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file.

StartCopy(Uri, AccessCondition, AccessCondition, FileRequestOptions, OperationContext)

Begins an operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file.

StartCopyAsync(CloudFile, AccessCondition, AccessCondition, FileCopyOptions, FileRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to start copying another file's contents, properties, and metadata to this file.

StartCopyAsync(CloudFile, AccessCondition, AccessCondition, FileCopyOptions, FileRequestOptions, OperationContext)

Initiates an asynchronous operation to start copying another file's contents, properties, and metadata to this file.

StartCopyAsync(CloudFile, AccessCondition, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to start copying another file's contents, properties, and metadata to this file.

StartCopyAsync(CloudFile, AccessCondition, AccessCondition, FileRequestOptions, OperationContext)

Initiates an asynchronous operation to start copying another file's contents, properties, and metadata to this file.

StartCopyAsync(CloudFile, CancellationToken)

Initiates an asynchronous operation to start copying another file's contents, properties, and metadata to this file.

StartCopyAsync(CloudFile)

Initiates an asynchronous operation to start copying another file's contents, properties, and metadata to this file.

StartCopyAsync(Uri, AccessCondition, AccessCondition, FileCopyOptions, FileRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file.

StartCopyAsync(Uri, AccessCondition, AccessCondition, FileCopyOptions, FileRequestOptions, OperationContext)

Initiates an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file.

StartCopyAsync(Uri, AccessCondition, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file.

StartCopyAsync(Uri, AccessCondition, AccessCondition, FileRequestOptions, OperationContext)

Initiates an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file.

StartCopyAsync(Uri, CancellationToken)

Initiates an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file.

StartCopyAsync(Uri)

Initiates an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file.

UploadFromByteArray(Byte[], Int32, Int32, AccessCondition, FileRequestOptions, OperationContext)

Uploads the contents of a byte array to a file. If the file already exists on the service, it will be overwritten.

UploadFromByteArrayAsync(Byte[], Int32, Int32, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to upload the contents of a byte array to a file. If the file already exists on the service, it will be overwritten.

UploadFromByteArrayAsync(Byte[], Int32, Int32, AccessCondition, FileRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

Returns a task that performs an asynchronous operation to upload the contents of a byte array to a file. If the file already exists on the service, it will be overwritten.

UploadFromByteArrayAsync(Byte[], Int32, Int32, AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to upload the contents of a byte array to a file. If the file already exists on the service, it will be overwritten.

UploadFromByteArrayAsync(Byte[], Int32, Int32, CancellationToken)

Returns a task that performs an asynchronous operation to upload the contents of a byte array to a file. If the file already exists on the service, it will be overwritten.

UploadFromByteArrayAsync(Byte[], Int32, Int32)

Returns a task that performs an asynchronous operation to upload the contents of a byte array to a file. If the file already exists on the service, it will be overwritten.

UploadFromFile(String, AccessCondition, FileRequestOptions, OperationContext)

Uploads a file to the File service. If the file already exists on the service, it will be overwritten.

UploadFromFileAsync(String, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to upload a local file to the File service. If the file already exists on the service, it will be overwritten.

UploadFromFileAsync(String, AccessCondition, FileRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

Returns a task that performs an asynchronous operation to upload a local file to the File service. If the file already exists on the service, it will be overwritten.

UploadFromFileAsync(String, AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to upload a local file to the File service. If the file already exists on the service, it will be overwritten.

UploadFromFileAsync(String, CancellationToken)

Returns a task that performs an asynchronous operation to upload a local file to the File service. If the file already exists on the service, it will be overwritten.

UploadFromFileAsync(String)

Returns a task that performs an asynchronous operation to upload a local file to the File service. If the file already exists on the service, it will be overwritten.

UploadFromStream(Stream, AccessCondition, FileRequestOptions, OperationContext)

Uploads a stream to a file. If the file already exists on the service, it will be overwritten.

UploadFromStream(Stream, Int64, AccessCondition, FileRequestOptions, OperationContext)

Uploads a stream to a file. If the file already exists on the service, it will be overwritten.

UploadFromStreamAsync(Stream, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten.

UploadFromStreamAsync(Stream, AccessCondition, FileRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten.

UploadFromStreamAsync(Stream, AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten.

UploadFromStreamAsync(Stream, CancellationToken)

Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten.

UploadFromStreamAsync(Stream, Int64, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten.

UploadFromStreamAsync(Stream, Int64, AccessCondition, FileRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten.

UploadFromStreamAsync(Stream, Int64, AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten.

UploadFromStreamAsync(Stream, Int64, CancellationToken)

Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten.

UploadFromStreamAsync(Stream, Int64)

Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten.

UploadFromStreamAsync(Stream)

Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten.

UploadText(String, Encoding, AccessCondition, FileRequestOptions, OperationContext)

Uploads a string of text to a file. If the file already exists on the service, it will be overwritten.

UploadTextAsync(String, CancellationToken)

Returns a task that performs an asynchronous operation to upload a string of text to a file. If the file already exists on the service, it will be overwritten.

UploadTextAsync(String, Encoding, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to upload a string of text to a file. If the file already exists on the service, it will be overwritten.

UploadTextAsync(String, Encoding, AccessCondition, FileRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

Returns a task that performs an asynchronous operation to upload a string of text to a file. If the file already exists on the service, it will be overwritten.

UploadTextAsync(String, Encoding, AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to upload a string of text to a file. If the file already exists on the service, it will be overwritten.

UploadTextAsync(String)

Returns a task that performs an asynchronous operation to upload a string of text to a file. If the file already exists on the service, it will be overwritten.

WriteRange(Stream, Int64, String, AccessCondition, FileRequestOptions, OperationContext)

Writes range to a file.

WriteRange(Uri, Int64, Int64, Int64, Checksum, AccessCondition, FileRequestOptions, OperationContext)

Writes range from a source file to this file.

WriteRangeAsync(Stream, Int64, String, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to write a range to a file.

WriteRangeAsync(Stream, Int64, String, AccessCondition, FileRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

Returns a task that performs an asynchronous operation to write a range to a file.

WriteRangeAsync(Stream, Int64, String, AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to write a range to a file.

WriteRangeAsync(Stream, Int64, String, CancellationToken)

Returns a task that performs an asynchronous operation to write a range to a file.

WriteRangeAsync(Stream, Int64, String)

Returns a task that performs an asynchronous operation to write a range to a file.

WriteRangeAsync(Uri, Int64, Int64, Int64, Checksum, AccessCondition, FileRequestOptions, OperationContext, Nullable<CancellationToken>)

Writes range from a source file to this file.

Applies to