NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Message.MessageType

Gets the type of the message (normal, acknowledgment, or report).

[Visual Basic]
Overridable Public ReadOnly Property MessageType As MessageType
[C#]
public MessageType MessageType {virtual get;}
[C++]
public: __property virtual MessageType get_MessageType();
[JScript]
public function get MessageType() : MessageType;

Property Value

One of the MessageType values.

Exceptions

Exception Type Condition
InvalidOperationException The MessageType could not be retrieved.

-or-

The message queue is filtered not to read the MessageType property.

Remarks

Typically this property is set by Message Queuing when it sends the message. Messages can be of the following types:

Example

See Also

Message Class | Message Members | System.Messaging Namespace | MessageType | Acknowledgement | AcknowledgeType