CacheDiagnostics.ConfigureDiagnostics Method (String, DiagnosticMonitorConfiguration)
Configures cache diagnostics using the specified diagnostic monitor configuration. This uses the diagnostic configuration setting to update any dynamic changes.
Assembly: Microsoft.ApplicationServer.Caching.AzureCommon (in Microsoft.ApplicationServer.Caching.AzureCommon.dll)
Public Shared Function ConfigureDiagnostics ( diagnosticsStorageAccountConfigurationSettingName As String, diagnosticMonitorConfig As DiagnosticMonitorConfiguration ) As DiagnosticMonitorConfiguration
Parameters
- diagnosticsStorageAccountConfigurationSettingName
-
Type:
System.String
Connection string to the storage account that stores the diagnostic monitor configuration in the wad-control-container blob.
- diagnosticMonitorConfig
-
Type:
Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorConfiguration
DiagnosticMonitorConfiguration object used to start the diagnostic service.
Return Value
Type: Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorConfigurationReturns DiagnosticMonitorConfiguration.
Show: