BufferedWebEventProvider コンストラクタ
アセンブリ: System.Web (system.web.dll 内)


このコンストラクタは、ASP.NET Health Monitoring system によって内部的に使用されます。TraceWebEventProvider オブジェクトのインスタンス化には使用しませんが、このクラスを継承する独自のプロバイダ型を実装する場合には呼び出すことができます。

このコンストラクタをカスタム イベント プロバイダで使用する方法を次のコード例に示します。
Public Sub New() ' Perform local initializations. ' Path of local file where to store ' event info. ' Assure that the path works for you and ' that the right permissions are set. logFilePath = "C:/test/log.doc" ' Instantiate buffer to contain ' local data. customInfo = New StringBuilder() End Sub 'New
public SampleBufferedWebEventProvider() { // Perform local initializations. // Path of local file where to store // event info. // Assure that the path works for you and // that the right permissions are set. logFilePath = "C:/test/log.doc"; // Instantiate buffer to contain // local data. customInfo = new StringBuilder(); }

Windows 98, Windows 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
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- BufferedWebEventProvider コンストラクタのページへのリンク