StatusMessagePropertyAttribute Class

 

Defines a status message attribute as being a property.

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

System::Object
  System::Attribute
    Microsoft.ConfigurationManagement.Messaging.Messages::StatusMessageMetadataAttribute
      Microsoft.ConfigurationManagement.Messaging.Messages::StatusMessagePropertyAttribute

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

NameDescription
System_CAPS_pubmethodStatusMessagePropertyAttribute()

Initializes a new instance of the StatusMessagePropertyAttribute class.

System_CAPS_pubmethodStatusMessagePropertyAttribute(Boolean)

Initializes a new instance of the StatusMessagePropertyAttribute class.

System_CAPS_pubmethodStatusMessagePropertyAttribute(String^)

Initializes a new instance of the StatusMessagePropertyAttribute class.

System_CAPS_pubmethodStatusMessagePropertyAttribute(String^, Boolean)

Initializes a new instance of the StatusMessagePropertyAttribute class.

NameDescription
System_CAPS_pubpropertyEnumAsInteger

If true, and the value is an enumeration, it will be represented as its integral value. If false, the value will be represented as a string. (Inherited from StatusMessageMetadataAttribute.)

System_CAPS_pubpropertyName

When Name is specified, the property is serialized to XML using the name specified in Name. Otherwise, the property name that uses this attribute is used.

For example, you can create a property called MyId (which satisfies FxCop naming rules), but the XML blob is expecting MyID (which doesn't satisfy FxCop naming rules). By specifying a Name, you can name your property MyId, but have it serialize as MyID. (Inherited from StatusMessageMetadataAttribute.)

System_CAPS_pubpropertyRequired

If true, the property is required to have a non-null value. (Inherited from StatusMessageMetadataAttribute.)

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: