IVsDebuggableProtocol.IsProtocolDebuggable(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示指定的协议是否可调试。
public:
int IsProtocolDebuggable(System::String ^ bstrProtocol);
public:
int IsProtocolDebuggable(Platform::String ^ bstrProtocol);
int IsProtocolDebuggable(std::wstring const & bstrProtocol);
public int IsProtocolDebuggable (string bstrProtocol);
abstract member IsProtocolDebuggable : string -> int
Public Function IsProtocolDebuggable (bstrProtocol As String) As Integer
参数
- bstrProtocol
- String
中要检查的协议。 此参数可以是完整的 URL。
返回
S_OK如果协议在列表中,则方法将返回。 S_FALSE如果协议不在列表中,则返回。 如果 bstrProtocol 参数包含完整的 url,则 S_OK 如果 url 以列表中的协议开头,则该方法将返回。
注解
COM 签名
从 vsshell80:
HRESULT IVsDebuggableProtocol::IsProtocolDebuggable(
[in] LPOLESTR bstrProtocol
);