IVsTaskItem3.GetSurrogateProviderGuid Method

If the task implements this method, it will be listed under the surrogate provider in the list, as if it belongs to the surrogate provider. This overrides the surrogate provider specified by IVsTaskProvider.GetSurrogateProviderGuid, if any.

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

Syntax

'Declaration
Function GetSurrogateProviderGuid ( _
    <OutAttribute> ByRef pguidProvider As Guid _
) As Integer
int GetSurrogateProviderGuid(
    out Guid pguidProvider
)
int GetSurrogateProviderGuid(
    [OutAttribute] Guid% pguidProvider
)
abstract GetSurrogateProviderGuid : 
        pguidProvider:Guid byref -> int 
function GetSurrogateProviderGuid(
    pguidProvider : Guid
) : int

Parameters

  • pguidProvider
    Type: System.Guid%
    [Out] A pointer to a Provider Identifier of type GUID.

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:

HRESULT IVsTaskItem3::GetSurrogateProviderGuid(
   [out] GUID* pguidProvider
);

.NET Framework Security

See Also

Reference

IVsTaskItem3 Interface

Microsoft.VisualStudio.Shell.Interop Namespace