StatusMessageMetadataAttribute Class

 

Represents an attribute that defines status message metadata.

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


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

NameDescription
System_CAPS_protmethodStatusMessageMetadataAttribute()

Initializes a new instance of the StatusMessageMetadataAttribute class.

System_CAPS_protmethodStatusMessageMetadataAttribute(Boolean)

Initializes a new instance of the StatusMessagePropertyAttribute class.

System_CAPS_protmethodStatusMessageMetadataAttribute(String^)

Initializes a new instance of the StatusMessageMetadataAttribute class.

System_CAPS_protmethodStatusMessageMetadataAttribute(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.

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.

System_CAPS_pubpropertyRequired

If true, the property is required to have a non-null value.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Attribute.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

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_protmethodMemberwiseClone()

(Inherited from Object.)

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: