IVsDebuggableProtocol.RemoveDebuggableProtocol Method

Removes the indicated protocol from the debuggable protocol list.

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

Syntax

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

Parameters

  • bstrProtocol
    Type: System.String

    [in] The protocol to be removed from the list

Return Value

Type: System.Int32
Returns S_OK if removal is successful; returns S_FALSE if removal is unsuccessful (for example, if the protocol is not in the list).

Remarks

COM Signature

From vsshell.idl:

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

.NET Framework Security

See Also

Reference

IVsDebuggableProtocol Interface

Microsoft.VisualStudio.Shell.Interop Namespace