NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

17.1.3 Attribute parameter types

The types of positional and named parameters for an attribute class are limited to the attribute parameter types. A type is an attribute type if it is one of the following:

An attribute class that defines a positional or named parameter whose type is not an attribute parameter type is in error. The example

public class InvalidAttribute: System.Attribute 
{
   public InvalidAttribute(Class1 c) {…}         // error
}
public class Class1 {
   ...
}

is in error because it defines an attribute class with a positional parameter of type Class1, which is not an attribute parameter type.