This documentation is archived and is not being maintained.
WebEventManager::Flush Method (String)
Visual Studio 2010
Flushes the event buffer for the specified provider.
Assembly: System.Web (in System.Web.dll)
[SecurityPermissionAttribute(SecurityAction::Demand, Unrestricted = true)] public: 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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: