CertificateCloudCredentials.InitializeServiceClient 方法
Initializes an instance of ServiceClient that is used to process the credentials.
命名空间: Microsoft.WindowsAzure
程序集: Microsoft.WindowsAzure.Common.NetFramework(在 Microsoft.WindowsAzure.Common.NetFramework.dll 中)
使用
用法
Dim instance As CertificateCloudCredentials
Dim client As ServiceClient(Of T)
instance.InitializeServiceClient(client)
语法
声明
Public Overrides Sub InitializeServiceClient(Of T As ServiceClient(Of T)) ( _
client As ServiceClient(Of T) _
)
public override void InitializeServiceClient<T> (
ServiceClient<T> client
) where T : ServiceClient<T>
public:
generic<typename T> where T : ServiceClient<T>
virtual void InitializeServiceClient (
ServiceClient<T>^ client
) override
GenericParameters
- T
Type of ServiceClient.
参数
- client
The ServiceClient object.
备注
A certificate is added to the shared root WebRequestHandler in the handler pipeline of the HttpClient for the ServiceClient.
线程安全
此类型的所有公开静态(在 Visual Basic 中为共享)成员均为线程安全型成员。但不保证所有实例成员都是线程安全的。
平台
开发平台
Windows Vista、Windows 7 和 Windows Server 2008
目标平台
另请参阅
参考
CertificateCloudCredentials 类
CertificateCloudCredentials 成员
Microsoft.WindowsAzure 命名空间