CloudBlobContainer.GetBlobReferenceFromServerAsync Method

Definition

Overloads

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)

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

GetBlobReferenceFromServerAsync(String, CancellationToken)

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

GetBlobReferenceFromServerAsync(String)

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

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

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

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

Parameters

blobName
String

A string containing the name of the blob.

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

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

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

cancellationToken
CancellationToken

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

Returns

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

Attributes

GetBlobReferenceFromServerAsync(String, AccessCondition, BlobRequestOptions, OperationContext)

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

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

Parameters

blobName
String

A string containing the name of the blob.

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

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

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

Returns

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

Attributes

GetBlobReferenceFromServerAsync(String, CancellationToken)

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

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

Parameters

blobName
String

A string containing the name of the blob.

cancellationToken
CancellationToken

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

Returns

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

Attributes

GetBlobReferenceFromServerAsync(String)

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

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

Parameters

blobName
String

A string containing the name of the blob.

Returns

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

Attributes

Applies to