IVsTaskProvider3.GetSurrogateProviderGuid Method

If a provider implements this method, all its tasks will be listed under the surrogate provider in the list, as if they belong to the surrogate provider.

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 (an object 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 IVsTaskProvider3::GetSurrogateProviderGuid(
   [out] GUID* pguidProvider
);

.NET Framework Security

See Also

Reference

IVsTaskProvider3 Interface

Microsoft.VisualStudio.Shell.Interop Namespace