CONNECTION_PROTOCOL

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Indicates the protocol being used to communicate between a debug server and the debug package (DE).

Syntax

typedef enum tagCONNECTION_PROTOCOL {
    CONNECTION_NONE    = 0,
    CONNECTION_UNKNOWN = 1,
    CONNECTION_LOCAL   = 2,
    CONNECTION_PIPE    = 3,
    CONNECTION_TCPIP   = 4,
    CONNECTION_HTTP    = 5,
    CONNECTION_OTHER   = 6
} CONNECTION_PROTOCOL;
public enum CONNECTION_PROTOCOL {
    CONNECTION_NONE    = 0,
    CONNECTION_UNKNOWN = 1,
    CONNECTION_LOCAL   = 2,
    CONNECTION_PIPE    = 3,
    CONNECTION_TCPIP   = 4,
    CONNECTION_HTTP    = 5,
    CONNECTION_OTHER   = 6
};

Fields

CONNECTION_NONE
No connection has been made to a server.

CONNECTION_UNKNOWN
A connection has been made, but it is of an unknown type.

CONNECTION_LOCAL
Connection is to a local server.

CONNECTION_PIPE
Connection is through a named pipe.

CONNECTION_TCPIP
Connection uses TCP/IP.

CONNECTION_HTTP
Connection uses HTTP (through a Web server).

CONNECTION_OTHER
Some other type of connection has been established (this value is not currently used).

Remarks

These values are returned from the GetConnectionProtocol method.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also