CloudCredentials.InitializeServiceClient<T> 方法 (ServiceClient<T>)
初始化的实例 ServiceClient<T> 用于处理凭据。
命名空间: Microsoft.WindowsAzure
程序集: Microsoft.WindowsAzure.Common(Microsoft.WindowsAzure.Common.dll 中)
语法
public virtual void InitializeServiceClient<T>(
ServiceClient<T> client
)
where T : ServiceClient<T>
public:
generic<typename T>
where T : ServiceClient<T>
virtual void InitializeServiceClient(
ServiceClient<T>^ client
)
abstract InitializeServiceClient<'T when 'T : ServiceClient<'T>> :
client:ServiceClient<'T> -> unit
override InitializeServiceClient<'T when 'T : ServiceClient<'T>> :
client:ServiceClient<'T> -> unit
Public Overridable Sub InitializeServiceClient(Of T As ServiceClient(Of T)) (
client As ServiceClient(Of T)
)
参数
client
Type: Microsoft.WindowsAzure.Common.ServiceClient<T>ServiceClient<T> 对象。
类型参数
- T
键入的 ServiceClient<T>。
请参阅
CloudCredentials 类
Microsoft.WindowsAzure 命名空间
返回页首