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 ohne Rückgabewert.

Hinweise

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

Gilt für: