CloudBlobContainer.GetBlobReferenceFromServerAsync CloudBlobContainer.GetBlobReferenceFromServerAsync CloudBlobContainer.GetBlobReferenceFromServerAsync Method

Definition

Overloads

GetBlobReferenceFromServerAsync(String, AccessCondition, BlobRequestOptions, OperationContext) GetBlobReferenceFromServerAsync(String, AccessCondition, BlobRequestOptions, OperationContext)

Initiates an asynchronous operation that gets a reference to a blob in this container.

GetBlobReferenceFromServerAsync(String) GetBlobReferenceFromServerAsync(String) GetBlobReferenceFromServerAsync(String)

Initiates an asynchronous operation that gets a reference to a blob in this container.

GetBlobReferenceFromServerAsync(String, CancellationToken) GetBlobReferenceFromServerAsync(String, CancellationToken)

Initiates an asynchronous operation that gets a reference to a blob in this container.

GetBlobReferenceFromServerAsync(String, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken) GetBlobReferenceFromServerAsync(String, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation that gets a reference to a blob in this container.

GetBlobReferenceFromServerAsync(String, AccessCondition, BlobRequestOptions, OperationContext) GetBlobReferenceFromServerAsync(String, AccessCondition, BlobRequestOptions, OperationContext)

Initiates an asynchronous operation that gets a reference to a blob in this container.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.Blob.ICloudBlob> GetBlobReferenceFromServerAsync (string blobName, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
abstract member GetBlobReferenceFromServerAsync : string * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.Blob.ICloudBlob>
override this.GetBlobReferenceFromServerAsync : string * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.Blob.ICloudBlob>
Parameters
blobName
String String String

A string containing the name of the blob.

accessCondition
AccessCondition AccessCondition AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed. If null, no condition is used.

options
BlobRequestOptions BlobRequestOptions BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext

An OperationContext object that represents the context for the current operation.

Returns

A Task<TResult> object that represents the asynchronous operation.

GetBlobReferenceFromServerAsync(String) GetBlobReferenceFromServerAsync(String) GetBlobReferenceFromServerAsync(String)

Initiates an asynchronous operation that gets a reference to a blob in this container.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.Blob.ICloudBlob> GetBlobReferenceFromServerAsync (string blobName);
abstract member GetBlobReferenceFromServerAsync : string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.Blob.ICloudBlob>
override this.GetBlobReferenceFromServerAsync : string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.Blob.ICloudBlob>
Public Overridable Function GetBlobReferenceFromServerAsync (blobName As String) As Task(Of ICloudBlob)
Parameters
blobName
String String String

A string containing the name of the blob.

Returns

A Task<TResult> object that represents the asynchronous operation.

GetBlobReferenceFromServerAsync(String, CancellationToken) GetBlobReferenceFromServerAsync(String, CancellationToken)

Initiates an asynchronous operation that gets a reference to a blob in this container.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.Blob.ICloudBlob> GetBlobReferenceFromServerAsync (string blobName, System.Threading.CancellationToken cancellationToken);
abstract member GetBlobReferenceFromServerAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.Blob.ICloudBlob>
override this.GetBlobReferenceFromServerAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.Blob.ICloudBlob>
Parameters
blobName
String String String

A string containing the name of the blob.

cancellationToken
CancellationToken CancellationToken CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task<TResult> object that represents the asynchronous operation.

GetBlobReferenceFromServerAsync(String, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken) GetBlobReferenceFromServerAsync(String, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation that gets a reference to a blob in this container.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.Blob.ICloudBlob> GetBlobReferenceFromServerAsync (string blobName, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member GetBlobReferenceFromServerAsync : string * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.Blob.ICloudBlob>
override this.GetBlobReferenceFromServerAsync : string * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.Blob.ICloudBlob>
Parameters
blobName
String String String

A string containing the name of the blob.

accessCondition
AccessCondition AccessCondition AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed. If null, no condition is used.

options
BlobRequestOptions BlobRequestOptions BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext

An OperationContext object that represents the context for the current operation.

cancellationToken
CancellationToken CancellationToken CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task<TResult> object that represents the asynchronous operation.

Applies to