IVsRegisterProjectDebugTargetProvider.AddDebugTargetProvider Method
Adds a debug target provided to the linked list of debug target providers.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function AddDebugTargetProvider ( _
pNewDbgTrgtProvider As IVsProjectDebugTargetProvider, _
<OutAttribute> ByRef ppNextDbgTrgtProvider As IVsProjectDebugTargetProvider _
) As Integer
int AddDebugTargetProvider(
IVsProjectDebugTargetProvider pNewDbgTrgtProvider,
out IVsProjectDebugTargetProvider ppNextDbgTrgtProvider
)
int AddDebugTargetProvider(
[InAttribute] IVsProjectDebugTargetProvider^ pNewDbgTrgtProvider,
[OutAttribute] IVsProjectDebugTargetProvider^% ppNextDbgTrgtProvider
)
abstract AddDebugTargetProvider :
pNewDbgTrgtProvider:IVsProjectDebugTargetProvider *
ppNextDbgTrgtProvider:IVsProjectDebugTargetProvider byref -> int
function AddDebugTargetProvider(
pNewDbgTrgtProvider : IVsProjectDebugTargetProvider,
ppNextDbgTrgtProvider : IVsProjectDebugTargetProvider
) : int
Parameters
pNewDbgTrgtProvider
Type: Microsoft.VisualStudio.Shell.Interop.IVsProjectDebugTargetProvider[in] The new debug target provider to be added.
ppNextDbgTrgtProvider
Type: Microsoft.VisualStudio.Shell.Interop.IVsProjectDebugTargetProvider%[out] The next debug target provider in the linked list.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
[C++]
HRESULT IVsRegisterProjectDebugTargetProvider::AddDebugTargetProvider(
[in] IVsProjectDebugTargetProvider *pNewDbgTrgtProvider,
[out] IVsProjectDebugTargetProvider **ppNextDbgTrgtProvider
);
.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.