Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Adds a protocol to the debuggable protocol list.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function AddDebuggableProtocol ( _
bstrProtocol As String _
) As Integer
int AddDebuggableProtocol(
string bstrProtocol
)
int AddDebuggableProtocol(
[InAttribute] String^ bstrProtocol
)
abstract AddDebuggableProtocol :
bstrProtocol:string -> int
function AddDebuggableProtocol(
bstrProtocol : String
) : int
Parameters
bstrProtocol
Type: System.String[in] The protocol to add to the list.
Return Value
Type: System.Int32
Returns S_OK if add is successful; returns S_FALSE if the addition is unsuccessful.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsDebuggableProtocol::AddDebuggableProtocol(
[in] LPOLESTR bstrProtocol
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.