StatusMessageMetadataAttribute Class
Represents an attribute that defines status message metadata.
Namespace: Microsoft.ConfigurationManagement.Messaging.Messages
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Inheritance Hierarchy
System.Object
System.Attribute
Microsoft.ConfigurationManagement.Messaging.Messages.StatusMessageMetadataAttribute
Microsoft.ConfigurationManagement.Messaging.Messages.StatusMessagePropertyAttribute
Microsoft.ConfigurationManagement.Messaging.Messages.StatusMessageQualifierAttribute
Syntax
[SerializableAttribute]
[AttributeUsageAttribute(AttributeTargets.Property, Inherited = true,
AllowMultiple = false)]
public abstract class StatusMessageMetadataAttribute : Attribute
[SerializableAttribute]
[AttributeUsageAttribute(AttributeTargets::Property, Inherited = true,
AllowMultiple = false)]
public ref class StatusMessageMetadataAttribute abstract : Attribute
<SerializableAttribute>
<AttributeUsageAttribute(AttributeTargets.Property, Inherited := True,
AllowMultiple := False)>
Public MustInherit Class StatusMessageMetadataAttribute
Inherits Attribute
Constructors
Name | Description | |
---|---|---|
StatusMessageMetadataAttribute() | Initializes a new instance of the StatusMessageMetadataAttribute class. |
|
StatusMessageMetadataAttribute(Boolean) | Initializes a new instance of the StatusMessagePropertyAttribute class. |
|
StatusMessageMetadataAttribute(String) | Initializes a new instance of the StatusMessageMetadataAttribute class. |
|
StatusMessageMetadataAttribute(String, Boolean) | Initializes a new instance of the StatusMessagePropertyAttribute class. |
Properties
Name | Description | |
---|---|---|
EnumAsInteger | 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. |
|
Name | 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. |
|
Required | If true, the property is required to have a non-null value. |
|
TypeId | (Inherited from Attribute.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Attribute.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Attribute.) |
|
GetType() | (Inherited from Object.) |
|
IsDefaultAttribute() | (Inherited from Attribute.) |
|
Match(Object) | (Inherited from Attribute.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
|
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
|
_Attribute.GetTypeInfoCount(UInt32) | (Inherited from Attribute.) |
|
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) | (Inherited from Attribute.) |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.ConfigurationManagement.Messaging.Messages Namespace
Return to top