WebEventProvider Constructor ()
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Initializes a new instance of the WebEventProvider class.
Assembly: System.Web (in System.Web.dll)
The WebEventProvider constructor is not intended to be used directly from your code. It is called by ASP.NET. You can call the WebEventProvider constructor when deriving from the WebEventProvider class.
The following code example shows how to use this constructor in a custom event provider.
' 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 'NewNew ' More custom initialization goes here.
.NET Framework
Available since 2.0
Available since 2.0
Show: