System.Web.Script.Services.LogicalTypeInfo.ThrowOnIncorrectGenerateScriptAttribute C# (CSharp) Method

ThrowOnIncorrectGenerateScriptAttribute() static private method

static private ThrowOnIncorrectGenerateScriptAttribute ( ) : void
return void
		static void ThrowOnIncorrectGenerateScriptAttribute () {
			throw new InvalidOperationException (
				"Using the GenerateScriptTypes attribute is not supported for types in the following categories: primitive types; DateTime; generic types taking more than one parameter; types implementing IEnumerable or IDictionary; interfaces; Abstract classes; classes without a public default constructor.");
		}