PreApplicationStartMethodAttribute(Type, String) Oluşturucu

Tanım

PreApplicationStartMethodAttribute sınıfının yeni bir örneğini başlatır.

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)

Parametreler

type
Type

Başlangıç yönteminin türünü açıklayan bir nesne.

methodName
String

Dönüş değeri olmayan boş bir parametre imzası.

Açıklamalar

parametresi tarafından başvuruda bulunılan methodName yöntem genel olmalıdır ve bir örnek yöntemi veya statik yöntem olabilir.

Şunlara uygulanır