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.
スレッド セーフ
この型の public static (Visual Basic では Shared) メンバーはすべてスレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。
プラットフォーム
開発プラットフォーム
Windows Vista、Windows 7 および Windows Server 2008
ターゲット プラットフォーム
関連項目
リファレンス
CertificateCloudCredentials クラス
CertificateCloudCredentials のメンバー
Microsoft.WindowsAzure 名前空間