匯出 (0) 列印
全部展開
本主題尚未接受評分 - 為這個主題評分

CloudStorageAccount.SetConfigurationSettingPublisher 方法

Sets the global configuration setting publisher for the storage account, which will be called when the account access keys are updated in the service configuration file.

命名空間: Microsoft.WindowsAzure
組件: Microsoft.WindowsAzure.StorageClient (在 microsoft.windowsazure.storageclient.dll 中)
'用途
Dim configurationSettingPublisher As Action(Of String, Func(Of String, Boolean))

CloudStorageAccount.SetConfigurationSettingPublisher(configurationSettingPublisher)
public static void SetConfigurationSettingPublisher (
	Action<string,Func<string,bool>> configurationSettingPublisher
)
public static void SetConfigurationSettingPublisher (
	Action<String,Func<String,boolean>> configurationSettingPublisher
)
public static function SetConfigurationSettingPublisher (
	configurationSettingPublisher : Action<String,Func<String,boolean>>
)

參數

configurationSettingPublisher

The configuration setting publisher for the storage account.

A configuration setting publisher allows adding subscribers for configuration settings. Subscribers are notified when a configuration setting changes, so that a role can determine whether or not to recycle on a given configuration change. This may be useful in the event that storage account access keys are regenerated and updated in a connection string in the service configuration file.


任何這個類型的公用靜態 (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。 並非所有的執行個體成員都是安全執行緒。

開發平台

Windows XP Home Edition, Windows XP Professional, Windows Server 2003、Windows Server 2008 和 Windows 2000

目標平台

本文對您有任何幫助嗎?
(剩餘 1500 個字元)
感謝您提供意見

社群新增項目

顯示:
© 2014 Microsoft. 著作權所有,並保留一切權利。