Udostępnij za pośrednictwem


StatusMessageMetadataAttribute Constructor (Boolean)

 

Initializes a new instance of the StatusMessagePropertyAttribute class.

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

Syntax

protected StatusMessageMetadataAttribute(
    bool required
)
protected:
StatusMessageMetadataAttribute(
    bool required
)
Protected Sub New (
    required As Boolean
)

Parameters

  • required
    Type: System.Boolean

    If true, the property must be set to a non-null value or an exception will be thrown when the message is parsed.

See Also

StatusMessageMetadataAttribute Overload
StatusMessageMetadataAttribute Class
Microsoft.ConfigurationManagement.Messaging.Messages Namespace

Return to top