你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PageBlobClient 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
PageBlobClient()
- Source:
- PageBlobClient.cs
- Source:
- PageBlobClient.cs
初始化 类的新实例 PageBlobClient 以便模拟。
protected PageBlobClient ();
Protected Sub New ()
适用于
PageBlobClient(Uri, BlobClientOptions)
- Source:
- PageBlobClient.cs
- Source:
- PageBlobClient.cs
初始化 PageBlobClient 类的新实例。
public PageBlobClient (Uri blobUri, Azure.Storage.Blobs.BlobClientOptions options = default);
new Azure.Storage.Blobs.Specialized.PageBlobClient : Uri * Azure.Storage.Blobs.BlobClientOptions -> Azure.Storage.Blobs.Specialized.PageBlobClient
Public Sub New (blobUri As Uri, Optional options As BlobClientOptions = Nothing)
参数
- options
- BlobClientOptions
可选的客户端选项,用于定义应用于每个请求的身份验证、重试等的传输管道策略。
适用于
PageBlobClient(String, String, String)
- Source:
- PageBlobClient.cs
- Source:
- PageBlobClient.cs
初始化 PageBlobClient 类的新实例。
public PageBlobClient (string connectionString, string blobContainerName, string blobName);
new Azure.Storage.Blobs.Specialized.PageBlobClient : string * string * string -> Azure.Storage.Blobs.Specialized.PageBlobClient
Public Sub New (connectionString As String, blobContainerName As String, blobName As String)
参数
- blobContainerName
- String
包含此页 Blob 的容器的名称。
- blobName
- String
此页 Blob 的名称。
适用于
PageBlobClient(Uri, AzureSasCredential, BlobClientOptions)
- Source:
- PageBlobClient.cs
- Source:
- PageBlobClient.cs
初始化 PageBlobClient 类的新实例。
public PageBlobClient (Uri blobUri, Azure.AzureSasCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default);
new Azure.Storage.Blobs.Specialized.PageBlobClient : Uri * Azure.AzureSasCredential * Azure.Storage.Blobs.BlobClientOptions -> Azure.Storage.Blobs.Specialized.PageBlobClient
Public Sub New (blobUri As Uri, credential As AzureSasCredential, Optional options As BlobClientOptions = Nothing)
参数
- credential
- AzureSasCredential
用于对请求进行签名的共享访问签名凭据。
- options
- BlobClientOptions
可选的客户端选项,用于定义应用于每个请求的身份验证、重试等的传输管道策略。
注解
仅当需要在此客户端的生命周期内更新共享访问签名时,才应使用此构造函数。
适用于
PageBlobClient(Uri, TokenCredential, BlobClientOptions)
- Source:
- PageBlobClient.cs
- Source:
- PageBlobClient.cs
初始化 PageBlobClient 类的新实例。
public PageBlobClient (Uri blobUri, Azure.Core.TokenCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default);
new Azure.Storage.Blobs.Specialized.PageBlobClient : Uri * Azure.Core.TokenCredential * Azure.Storage.Blobs.BlobClientOptions -> Azure.Storage.Blobs.Specialized.PageBlobClient
Public Sub New (blobUri As Uri, credential As TokenCredential, Optional options As BlobClientOptions = Nothing)
参数
- credential
- TokenCredential
用于对请求进行签名的令牌凭据。
- options
- BlobClientOptions
可选的客户端选项,用于定义应用于每个请求的身份验证、重试等的传输管道策略。
适用于
PageBlobClient(Uri, StorageSharedKeyCredential, BlobClientOptions)
- Source:
- PageBlobClient.cs
- Source:
- PageBlobClient.cs
初始化 PageBlobClient 类的新实例。
public PageBlobClient (Uri blobUri, Azure.Storage.StorageSharedKeyCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default);
new Azure.Storage.Blobs.Specialized.PageBlobClient : Uri * Azure.Storage.StorageSharedKeyCredential * Azure.Storage.Blobs.BlobClientOptions -> Azure.Storage.Blobs.Specialized.PageBlobClient
Public Sub New (blobUri As Uri, credential As StorageSharedKeyCredential, Optional options As BlobClientOptions = Nothing)
参数
- credential
- StorageSharedKeyCredential
用于对请求进行签名的共享密钥凭据。
- options
- BlobClientOptions
可选的客户端选项,用于定义应用于每个请求的身份验证、重试等的传输管道策略。
适用于
PageBlobClient(String, String, String, BlobClientOptions)
- Source:
- PageBlobClient.cs
- Source:
- PageBlobClient.cs
初始化 PageBlobClient 类的新实例。
public PageBlobClient (string connectionString, string blobContainerName, string blobName, Azure.Storage.Blobs.BlobClientOptions options);
new Azure.Storage.Blobs.Specialized.PageBlobClient : string * string * string * Azure.Storage.Blobs.BlobClientOptions -> Azure.Storage.Blobs.Specialized.PageBlobClient
Public Sub New (connectionString As String, blobContainerName As String, blobName As String, options As BlobClientOptions)
参数
- blobContainerName
- String
包含此页 Blob 的容器的名称。
- blobName
- String
此页 Blob 的名称。
- options
- BlobClientOptions
可选的客户端选项,用于定义应用于每个请求的身份验证、重试等的传输管道策略。