WebEventManager.Flush Method (String)

Flushes the event buffer for the specified provider.

Namespace: System.Web.Management
Assembly: System.Web (in system.web.dll)

public:
static void Flush (
	String^ providerName
)
public static void Flush (
	String providerName
)
public static function Flush (
	providerName : String
)
Not applicable.

Parameters

providerName

The name of the provider.

Exception typeCondition

ArgumentException

providerName does not match any of the existing providers.

The Flush method flushes the event buffer for the specified provider. The healthMonitoring section of the configuration must contain the specified provider in order to flush the event buffer. If the provider name does not match any of the existing providers in the healthMonitoring section, an ArgumentException exception is thrown.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: