导出 (0) 打印
全部展开
EN
此内容没有您的语言版本,但有英语版本。
0(共 1)对本文的评价是有帮助 - 评价此主题

CloudBlobClient Class

Updated: September 24, 2013

[This topic is part of the Windows Azure Storage Client Library 2.1. The current recommended version is Storage Client Library 3.0.]

Provides a client-side logical representation of the Windows Azure Blob service. This client is used to configure and execute requests against the Blob service.

Namespace: Microsoft.WindowsAzure.Storage.Blob
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
用法
Dim instance As CloudBlobClient

public sealed class CloudBlobClient

The following code example writes property values for a CloudBlobClient object to a console window.


using System;
using System.IO;
using Microsoft.WindowsAzure.Storage.Blob;

public static void ListBlobClientProperties(CloudBlobClient blobClient)
{
    Console.WriteLine("BaseURI: {0}", blobClient.BaseUri);
    Console.WriteLine("Credentials.AccountName: {0}", blobClient.Credentials.AccountName);
    Console.WriteLine("DefaultDelimiter: {0}", blobClient.DefaultDelimiter);
    Console.WriteLine("BaseURI: {0}", blobClient.BaseUri);
    Console.WriteLine("MaxExecutionTime: {0}", blobClient.MaximumExecutionTime);
    Console.WriteLine("ParallelOperationThreadCount: {0}", blobClient.ParallelOperationThreadCount);
    Console.WriteLine("RetryPolicy: {0}", blobClient.RetryPolicy.ToString());
    Console.WriteLine("ServerTimeout: {0}", blobClient.ServerTimeout);
    Console.WriteLine("SingleBlobUploadThresholdInBytes: {0}", blobClient.SingleBlobUploadThresholdInBytes);
}

The CloudBlobClient service client encapsulates the service endpoint for the Blob service, as well as the credentials for authenticating access to the storage account.


System.Object
  Microsoft.WindowsAzure.Storage.Blob.CloudBlobClient
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7 and Windows Server 2008

 

本文是否对您有所帮助?
(1500 个剩余字符)
感谢您的反馈
显示:
© 2014 Microsoft. 版权所有。