Skip to content

AddBehaviorAttribute constructor

Initializes a new instance of the attribute.

public AddBehaviorAttribute(Type behaviorType)
parameter description
behaviorType Behavior type

Exceptions

exception condition
ArgumentException behaviorType is abstract or an interface.

See Also