RoleInstanceEndpoint::GetProtocol Method

Gets the protocol that is defined for the endpoint.

Syntax

public:
utility::string_t GetProtocol()  

Return value

Type: utility::string_t 

The protocol value that is defined for the endpoint.

Remarks

Internal endpoints can have a protocol of http and tcp. External endpoints can have a protocol of http, https, and tcp. The endpoints that use the http and https protocols are preconfigured to listen by using http.sys while the endpoints that use the tcp protocol are not. The protocol of an endpoint is defined in the ServiceDefinition.csdef file.

Requirements

Header: Declared in ServiceDefinition.h.

Library: Use GSDK110.lib (VS 2012) or GSDK100.lib (VS 2010).

See also

Reference

RoleInstanceEndpoint

RoleInstanceEndpoint Members