Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PreApplicationStartMethodAttribute Constructor (Type^, String^)

.NET Framework (current version)
 

Initializes a new instance of the PreApplicationStartMethodAttribute class.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public:
PreApplicationStartMethodAttribute(
	Type^ type,
	String^ methodName
)

Parameters

type
Type: System::Type^

An object that describes the type of the startup method..

methodName
Type: System::String^

An empty parameter signature that has no return value.

The method referenced by the methodName parameter must be public and can be either an instance method or static method.

.NET Framework
Available since 4.0
Return to top
Show:
© 2017 Microsoft