Skip to content

Latest commit

 

History

History
83 lines (68 loc) · 2.48 KB

File metadata and controls

83 lines (68 loc) · 2.48 KB
description title ms.date ms.topic f1_keywords helpviewer_keywords author ms.author manager ms.subservice dev_langs
Specifies the message type and reason.
MESSAGETYPE
11/04/2016
reference
MESSAGETYPE
MESSAGETYPE enumeration
maiak
maiak
mijacobs
debug-diagnostics
CPP
CSharp

MESSAGETYPE

Specifies the message type and reason.

Syntax

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
};
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;

Fields

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 GetMessage and 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