TemplatedMailWebEventProvider.Initialize(String, NameValueCollection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om