TemplatedMailWebEventProvider.Initialize(String, NameValueCollection) Método
Definição
Define os valores iniciais para esse objeto.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)
Parâmetros
- name
- String
O nome deste provedor de eventos.The name of this event provider.
- config
- NameValueCollection
Um objeto NameValueCollection que especifica as configurações para este provedor de eventos.A NameValueCollection object that specifies configuration settings for this event provider.
Exceções
config não inclui um atributo com nome "modelo".config does not include an attribute with the name "template".
- ou --or-
O atributo de modelo fornecido pelo config tem um Length de 0.The template attribute supplied by config has a Length of 0.
- ou --or- A URL especificada pelo atributo de modelo não é uma URL relativa ao aplicativo.The URL specified by the template attribute is not an application-relative URL.
- ou --or- A URL de modelo especificada está fora do Caminho de domínio de aplicativo.The specified template URL is outside the App Domain Path.
Comentários
Esse método não se destina a ser usado diretamente do seu código.This method is not intended to be used directly from your code. Ele é chamado pelo sistema de monitoramento de integridade do ASP.NET.It is called by the ASP.NET health-monitoring system.