다음을 통해 공유


CloudBlobContainer.GetBlobReferenceFromServerAsync Method

Definition

Overloads

GetBlobReferenceFromServerAsync(String)

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, AccessCondition, BlobRequestOptions, OperationContext)

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.

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);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
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

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);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
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>
Public Overridable Function GetBlobReferenceFromServerAsync (blobName As String, cancellationToken As CancellationToken) As Task(Of 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

Applies to

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);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
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>
Public Overridable Function GetBlobReferenceFromServerAsync (blobName As String, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext) As Task(Of 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

Applies to

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);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
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>
Public Overridable Function GetBlobReferenceFromServerAsync (blobName As String, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of 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

Applies to