System.Web.Profile.ProfileManager.CheckEnabled C# (CSharp) Method

CheckEnabled() static private method

static private CheckEnabled ( ) : void
return void
		static void CheckEnabled ()
		{
			if (!Enabled)
				throw new Exception ("This feature is not enabled.  To enable it, add <profile enabled=\"true\"> to your configuration file.");
		}