RuleAttribute Constructor
Initializes a new instance of the RuleAttribute class.
Namespace: Microsoft.Modeling
Assembly: Microsoft.Xrt.Runtime (in Microsoft.Xrt.Runtime.dll)
Usage
'Usage
Syntax
'Declaration
public RuleAttribute ()
Remarks
The following table shows the default property values for an instance of the RuleAttribute class.
Property | Default Value |
---|---|
null |
|
null |
If the Action property is null, Spec Explorer builds the action invocation from the method signature.
Spec Explorer's validation process checks the value of the rule properties and generates a validation error if any of the property values are invalid. The compiler does not identify such errors.
Platforms
Development Platforms
Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP SP2 or later, Microsoft Windows Server 2008, Microsoft Windows Server 2003
See Also
Reference
RuleAttribute Class
RuleAttribute Members
Microsoft.Modeling Namespace