WebEventManager::Flush Method (String^)

 

Flushes the event buffer for the specified provider.

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

public:
[SecurityPermissionAttribute(SecurityAction::Demand, Unrestricted = true)]
static void Flush(
	String^ providerName
)

Parameters

providerName
Type: System::String^

The name of the provider.

Exception Condition
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.

.NET Framework
Available since 2.0
Return to top
Show: