[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Defines settings and requirements for a message's property

Namespace:  Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

                 
  C#     Visual Basic     Visual C++  
[
SerializableAttribute]
[
AttributeUsageAttribute(
AttributeTargets.Property)]
public 
sealed 
class 
MessagePropertyAttribute : 
Attribute
<
SerializableAttribute> _
<
AttributeUsageAttribute(
AttributeTargets.Property)> _
Public 
NotInheritable 
Class 
MessagePropertyAttribute _
	
Inherits 
Attribute
[
SerializableAttribute]
[
AttributeUsageAttribute(
AttributeTargets::Property)]
public 
ref class 
MessagePropertyAttribute 
sealed : 
public 
Attribute

Members

                             
  All Members     Constructors      Properties      Methods      Explicit Interface Implementations   
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

  Member Description
MessagePropertyAttribute(MessagePropertyImportance)
Initializes a new instance of the MessagePropertyAttributeclass. Builds attribute with Importance.
CanBeNull
If true, the class or property being null is not a failure. Defaults to false.
CheckRecursively
Checks properties embedded in that property. Only recurses down one level.
Equals(Object) (Inherited from Attribute.)
Finalize () () () () (Inherited from Object.)
GetHashCode () () () () (Inherited from Attribute.)
_Attribute . . :: . . GetIDsOfNames(Guid % , IntPtr, UInt32, UInt32, IntPtr) (Inherited from Attribute.)
GetType () () () () (Inherited from Object.)
_Attribute . . :: . . GetTypeInfo(UInt32, UInt32, IntPtr) (Inherited from Attribute.)
_Attribute . . :: . . GetTypeInfoCount(UInt32 % ) (Inherited from Attribute.)
Importance
The importance level for the message
_Attribute . . :: . . Invoke(UInt32, Guid % , UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) (Inherited from Attribute.)
IsDefaultAttribute () () () () (Inherited from Attribute.)
Match(Object) (Inherited from Attribute.)
MemberwiseClone () () () () (Inherited from Object.)
RangeMax
A maximum range for the message. Must be an object type that implements IComparable (Int32, string, etc) or else it will fail during validation.
RangeMin
A minimum range for the message. Must be an object type that implements IComparable (Int32, string, etc) or else it will fail during validation.
ToString () () () () (Inherited from Object.)
TypeId (Inherited from Attribute.)

Inheritance Hierarchy

System . . :: . . Object
   System . . :: . . Attribute
     Microsoft.ConfigurationManagement.Messaging.Framework . . :: . . MessagePropertyAttribute

See Also