Edit

Share via


TemplatedMailWebEventProvider.Initialize(String, NameValueCollection) Method

Definition

Sets the initial values for this object.

public:
 override void Initialize(System::String ^ name, System::Collections::Specialized::NameValueCollection ^ config);
public override void Initialize (string name, System.Collections.Specialized.NameValueCollection config);
override this.Initialize : string * System.Collections.Specialized.NameValueCollection -> unit
Public Overrides Sub Initialize (name As String, config As NameValueCollection)

Parameters

name
String

The name of this event provider.

config
NameValueCollection

A NameValueCollection object that specifies configuration settings for this event provider.

Exceptions

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.

Remarks

This method is not intended to be used directly from your code. It is called by the ASP.NET health-monitoring system.

Applies to