PreApplicationStartMethodAttribute(Type, String) Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy PreApplicationStartMethodAttribute.

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)

Parametry

type
Type

Obiekt opisujący typ metody uruchamiania.

methodName
String

Pusty podpis parametru, który nie ma zwracanej wartości.

Uwagi

Metoda, methodName do którą odwołuje się parametr , musi być publiczna i może być metodą wystąpienia lub metodą statyczną.

Dotyczy