Bewerken

Share via


BuildManager.GetGlobalAsaxType Method

Definition

Gets an object that represents the compiled type for the Global.asax file.

public:
 static Type ^ GetGlobalAsaxType();
public static Type GetGlobalAsaxType ();
static member GetGlobalAsaxType : unit -> Type
Public Shared Function GetGlobalAsaxType () As Type

Returns

An object that represents the compiled type for the Global.asax file.

Exceptions

An attempt was made to call this method before the Global.asax page was compiled.

Remarks

An exception is thrown if this method is called before the Global.asax file has been compiled.

Applies to