PreApplicationStartMethodAttribute(Type, String) Konstruktor

Definisi

Menginisialisasi instans baru dari kelas 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)

Parameter

type
Type

Objek yang menjelaskan jenis metode startup.

methodName
String

Tanda tangan parameter kosong yang tidak memiliki nilai pengembalian.

Keterangan

Metode yang dirujuk methodName oleh parameter harus publik dan dapat berupa metode instans atau metode statis.

Berlaku untuk