MessagePropertyAttribute Class

 

Defines message property requirements and settings.

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

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

[SerializableAttribute]
[AttributeUsageAttribute(AttributeTargets::Property, AllowMultiple = false, 
	Inherited = true)]
public ref class MessagePropertyAttribute sealed : Attribute

NameDescription
System_CAPS_pubmethodMessagePropertyAttribute(MessagePropertyImportance)

Initializes a new instance of the MessagePropertyAttribute class. Builds the attribute with Importance.

NameDescription
System_CAPS_pubpropertyCanBeNull

Gets or sets a value that indicates whether the class or property is allowed to be null. The default value is false.

System_CAPS_pubpropertyCheckRecursively

Gets or sets a value that indicates whether to check for properties in objects embedded in that property. Recursion goes down one level.

System_CAPS_pubpropertyIgnoreForSender

Gets or sets a list of senders that will ignore this property when validating the message. Some properties are not necessary for certain senders.

System_CAPS_pubpropertyImportance

Gets the importance level for the message.

System_CAPS_pubpropertyRangeMax

Gets or sets a maximum range for the message. The value must be an object type that implements IComparable (such as Int32 or string) or it will fail during validation.

System_CAPS_pubpropertyRangeMin

Gets or sets a minimum range for the message. The value must be an object type that implements IComparable (such as Int32 or string) or it will fail during validation.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object^)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: