IVsRegisterProjectDebugTargetProvider.RemoveDebugTargetProvider Method
Removes the specified debug target provider from 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 RemoveDebugTargetProvider ( _
pDbgTrgtProvider As IVsProjectDebugTargetProvider _
) As Integer
int RemoveDebugTargetProvider(
IVsProjectDebugTargetProvider pDbgTrgtProvider
)
int RemoveDebugTargetProvider(
[InAttribute] IVsProjectDebugTargetProvider^ pDbgTrgtProvider
)
abstract RemoveDebugTargetProvider :
pDbgTrgtProvider:IVsProjectDebugTargetProvider -> int
function RemoveDebugTargetProvider(
pDbgTrgtProvider : IVsProjectDebugTargetProvider
) : int
Parameters
pDbgTrgtProvider
Type: Microsoft.VisualStudio.Shell.Interop.IVsProjectDebugTargetProvider[in] The debug target provider to remove.
Return Value
Type: System.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::RemoveDebugTargetProvider(
[in] IVsProjectDebugTargetProvider *pDbgTrgtProvider
);
.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.