System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / Message Class / AcknowledgeType Property



In This Topic
    AcknowledgeType Property (Message)
    In This Topic
    Gets or sets the type of acknowledgment message to be returned to the sending application.
    Syntax
    'Declaration
     
    
    Public Property AcknowledgeType As AcknowledgeTypes
    'Usage
     
    
    Dim instance As Message
    Dim value As AcknowledgeTypes
     
    instance.AcknowledgeType = value
     
    value = instance.AcknowledgeType
    public AcknowledgeTypes AcknowledgeType {get; set;}
    public:
    property AcknowledgeTypes AcknowledgeType {
       AcknowledgeTypes get();
       void set (    AcknowledgeTypes value);
    }

    Property Value

    One of the AcknowledgeTypes values, which represent both the types of acknowledgment messages the system posts in the administration queue and the conditions under which acknowledgments are returned to the sending application. The default is None.
    Exceptions
    ExceptionDescription
    The message is filtered to ignore the AcknowledgeType property.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also