Partilhar via


WindowsEventLogsBufferConfiguration Class

 

Represents the buffer configuration for Windows event logs.

Namespace:   Microsoft.WindowsAzure.Diagnostics
Assembly:  Microsoft.WindowsAzure.Diagnostics (in Microsoft.WindowsAzure.Diagnostics.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Diagnostics.DiagnosticDataBufferConfiguration
    Microsoft.WindowsAzure.Diagnostics.WindowsEventLogsBufferConfiguration

Syntax

public class WindowsEventLogsBufferConfiguration : DiagnosticDataBufferConfiguration
public ref class WindowsEventLogsBufferConfiguration : DiagnosticDataBufferConfiguration
type WindowsEventLogsBufferConfiguration = 
    class
        inherit DiagnosticDataBufferConfiguration
    end
Public Class WindowsEventLogsBufferConfiguration
    Inherits DiagnosticDataBufferConfiguration

Constructors

Name Description
System_CAPS_pubmethod WindowsEventLogsBufferConfiguration()

Properties

Name Description
System_CAPS_pubproperty BufferQuotaInMB

Gets or sets the maximum amount of file system storage available to the specified data buffer.(Inherited from DiagnosticDataBufferConfiguration.)

System_CAPS_pubproperty DataSources

Gets or sets a list of configured data sources for Windows event logs.

System_CAPS_pubproperty ScheduledTransferLogLevelFilter

Gets or sets the logging level by which to filter records when performing a scheduled transfer.

System_CAPS_pubproperty ScheduledTransferPeriod

Gets or sets the interval between scheduled transfers for this data buffer, in minutes.(Inherited from DiagnosticDataBufferConfiguration.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

The WindowsEventLogsBufferConfiguration class derives from DiagnosticDataBufferConfiguration and adds the ScheduledTransferLogLevelFilter and DataSources properties. The WindowsEventLog property is of type WindowsEventLogsBufferConfiguration, and is used to store configuration data for Windows event logs.

Warning

This API is not supported in Azure SDK versions 2.5 and higher. Instead, use the diagnostics.wadcfg XML configuration file. For more information, see Collect Logging Data by Using Azure Diagnostics.

Thread Safety

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

See Also

Microsoft.WindowsAzure.Diagnostics Namespace

Return to top