Condividi tramite


MESSAGETYPE

Specifies the message type and reason.

enum enum_MESSAGETYPE { 
   MT_OUTPUTSTRING      = 0x0000001,
   MT_MESSAGEBOX        = 0x00000002,
   MT_TYPE_MASK         = 0x000000FF,
   MT_REASON_EXCEPTION  = 0x00000100,
   MT_REASON_TRACEPOINT = 0x00000200,
   MT_REASON_MASK       = 0x0000FF00
};
typedef DWORD MESSAGETYPE;
public enum enum_MESSAGETYPE { 
   MT_OUTPUTSTRING      = 0x0000001,
   MT_MESSAGEBOX        = 0x00000002,
   MT_TYPE_MASK         = 0x000000FF,
   MT_REASON_EXCEPTION  = 0x00000100,
   MT_REASON_TRACEPOINT = 0x00000200,
   MT_REASON_MASK       = 0x0000FF00
};

Members

  • MT_OUTPUTSTRING
    Indicates that the message should be sent to the output window. This is mutually exclusive from MT_MESSAGEBOX.

  • MT_MESSAGEBOX
    Indicates that the message should be shown in a message box. This is mutually exclusive from MT_OUTPUTSTRING.

  • MT_TYPE_MASK
    A mask value to isolate the destination for the message.

  • MT_REASON_EXCEPTION
    Indicates that a message box is being shown as a result of an exception. This is mutually exclusive from MT_REASON_TRACEPOINT.

  • MT_REASON_TRACEPOINT
    Indicates that a message box is being shown as a result of hitting a tracepoint. This is mutually exclusive to MT_REASON_EXCEPTION.

  • MT_REASON_MASK
    A mask value to isolate the reason for the message being shown.

Remarks

These values are returned from the IDebugMessageEvent2::GetMessage and IDebugErrorEvent2::GetErrorMessage methods.

One of the reason values can be combined with one of the output destination values using a bitwise OR.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

Enumerations (Visual Studio Debugging)

IDebugMessageEvent2::GetMessage

IDebugErrorEvent2::GetErrorMessage