Esporta (0) Stampa
Espandi tutto

Metodo 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.

Spazio dei nomi: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.StorageClient (in microsoft.windowsazure.storageclient.dll)

'Utilizzo
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>>
)

Parametri

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.


Tutti i membri statici pubblici (Shared in Visual Basic) di questo tipo sono thread-safe. I membri di istanza non sono garantiti come thread-safe.

Piattaforme di sviluppo

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Server 2008 e Windows 2000

Piattaforme di destinazione

Aggiunte alla community

Mostra:
© 2014 Microsoft