Compartilhar via


IVsDebuggableProtocol.IsProtocolDebuggable Method

Indicates whether the specified protocol is debuggable.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function IsProtocolDebuggable ( _
    bstrProtocol As String _
) As Integer
int IsProtocolDebuggable(
    string bstrProtocol
)
int IsProtocolDebuggable(
    [InAttribute] String^ bstrProtocol
)
abstract IsProtocolDebuggable : 
        bstrProtocol:string -> int
function IsProtocolDebuggable(
    bstrProtocol : String
) : int

Parameters

  • bstrProtocol
    Type: String

    [in] The protocol to be checked. This parameter can be a full URL.

Return Value

Type: Int32
The method will return S_OK if the protocol is in the list. Returns S_FALSE if the protocol is not in the list. If the bstrProtocol parameter contains a full URL, the method will return S_OK if the URL starts with a protocol that is in the list.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsDebuggableProtocol::IsProtocolDebuggable(
   [in] LPOLESTR bstrProtocol
);

.NET Framework Security

See Also

Reference

IVsDebuggableProtocol Interface

Microsoft.VisualStudio.Shell.Interop Namespace