Partager via


AutoscalingSettings.LoggerName Property

Retired Content

This content and the technology described is outdated and is no longer being maintained. For more information about Transient Fault Handling, see Transient Fault Handling.

Gets or sets the logger implementation to use.

Namespace: Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.Configuration
Assembly: Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling (in Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.dll) Version: 5.0.1118.0 (5.0.1118.0)

Syntax

[ReferenceAttribute(typeof(NameTypeConfigurationElementCollection<LoggerData, CustomLoggerData>), 
    typeof(LoggerData))]
[ConfigurationPropertyAttribute("loggerName", IsRequired = true, DefaultValue = "System Diagnostics Logger")]
[BrowsableAttribute(false)]
public string LoggerName { get; set; }
'Declaration
<ReferenceAttribute(GetType(NameTypeConfigurationElementCollection(Of LoggerData, CustomLoggerData)),  _
    GetType(LoggerData))> _
<ConfigurationPropertyAttribute("loggerName", IsRequired := True, DefaultValue := "System Diagnostics Logger")> _
<BrowsableAttribute(False)> _
Public Property LoggerName As String
    Get
    Set
[ReferenceAttribute(typeof(NameTypeConfigurationElementCollection<LoggerData^, CustomLoggerData^>), 
    typeof(LoggerData))]
[ConfigurationPropertyAttribute(L"loggerName", IsRequired = true, DefaultValue = L"System Diagnostics Logger")]
[BrowsableAttribute(false)]
public:
property String^ LoggerName {
    String^ get ();
    void set (String^ value);
}

See Also

AutoscalingSettings Class

Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.Configuration Namespace