Share via


PreApplicationStartMethodAttribute(Type, String) Konstruktor

Definition

Initialisiert eine neue Instanz der PreApplicationStartMethodAttribute-Klasse.

public:
 PreApplicationStartMethodAttribute(Type ^ type, System::String ^ methodName);
public PreApplicationStartMethodAttribute (Type type, string methodName);
new System.Web.PreApplicationStartMethodAttribute : Type * string -> System.Web.PreApplicationStartMethodAttribute
Public Sub New (type As Type, methodName As String)

Parameter

type
Type

Ein Objekt, das den Typ der Startmethode beschreibt.

methodName
String

Eine leere Parametersignatur, die keinen Rückgabewert hat.

Hinweise

Die Methode, auf die der Parameter verweist, methodName muss öffentlich sein und kann entweder eine Instanzmethode oder eine statische Methode sein.

Gilt für