PreApplicationStartMethodAttribute(Type, String) Costruttore

Definizione

Inizializza una nuova istanza della classe 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)

Parametri

type
Type

Oggetto che descrive il tipo del metodo di avvio.

methodName
String

Firma di parametro vuota che non ha un valore restituito.

Commenti

Il metodo a cui fa riferimento methodName il parametro deve essere pubblico e può essere un metodo di istanza o un metodo statico.

Si applica a