This topic has not yet been rated - Rate this topic

DiagnosticMonitorConfiguration.ConfigurationChangePollInterval Property

Gets or sets the interval at which the diagnostic monitor polls for diagnostic configuration changes.

Namespace: Microsoft.WindowsAzure.Diagnostics
Assembly: Microsoft.WindowsAzure.Diagnostics (in Microsoft.WindowsAzure.Diagnostics.dll)
'Usage
Dim instance As DiagnosticMonitorConfiguration
Dim value As TimeSpan

value = instance.ConfigurationChangePollInterval

instance.ConfigurationChangePollInterval = value
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] 
public TimeSpan ConfigurationChangePollInterval { get; set; }
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public TimeSpan get_ConfigurationChangePollInterval ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_ConfigurationChangePollInterval (TimeSpan value)

CompilerGeneratedAttribute 
public function get ConfigurationChangePollInterval () : TimeSpan

CompilerGeneratedAttribute 
public function set ConfigurationChangePollInterval (value : TimeSpan)

Property Value

Type: System.TimeSpan

Returns TimeSpan.

The ConfigurationChangePollInterval specifies how often the diagnostic monitor will check for configuration changes in the diagnostics.wadcfg file in wad-control-container. By default, this value is 1 minute.

For more information on how to configure your diagnostics.wadcfg file, see Using the Windows Azure Diagnostics Configuration File.

Example

The following code snippet creates a new configuration and specifies a 5 minute poll interval:

// Get the default initial configuration for DiagnosticMonitor.
DiagnosticMonitorConfiguration diagnosticConfiguration = DiagnosticMonitor.GetDefaultInitialConfiguration();

// Set the poll interval to 5 minutes.
diagnosticConfiguration.ConfigurationChangePollInterval = TimeSpan.FromMinutes(5.0);


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7 and Windows Server 2008

Target Platforms

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ