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


WebEventProvider コンストラクタは、コードで直接使用するためのものではありません。ASP.NET によって呼び出されます。WebEventProvider コンストラクタは、WebEventProvider クラスの派生の場合に呼び出すことができます。

このコンストラクタをカスタム イベント プロバイダで使用する方法を次のコード例に示します。
' Initializes the provider. Public Sub New() ' Initialize the local path of the file ' that holds event information. logFilePath = "C:/test/log.doc" ' Clear the message buffer. msgBuffer.Clear() ' Initialize the max number of messages ' to buffer. maxMsgNumber = 10 End Sub 'New ' More custom initialization goes here.
// Initializes the provider. public SampleEventProvider(): base() { // Initialize the local path of the file // that holds event information. logFilePath = "C:/test/log.doc"; // Clear the message buffer. msgBuffer.Clear(); // Initialize the max number of messages // to buffer. maxMsgNumber = 10; // More custom initialization goes here. }

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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


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