TemplatedMailWebEventProvider.Initialize Method (String, NameValueCollection)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Sets the initial values for this object.
Assembly: System.Web (in System.Web.dll)
Parameters
- name
-
Type:
System.String
The name of this event provider.
- config
-
Type:
System.Collections.Specialized.NameValueCollection
A NameValueCollection object that specifies configuration settings for this event provider.
| Exception | Condition |
|---|---|
| ConfigurationErrorsException | config does not include an attribute with the name "template". - or - The template attribute supplied by config has a Length of 0. - or - The URL specified by the template attribute is not an application-relative URL. - or - The specified template URL is outside the App Domain Path. |
This method is not intended to be used directly from your code. It is called by the ASP.NET health-monitoring system.
.NET Framework
Available since 2.0
Available since 2.0
Show: