Share via


TaskProvider.IVsTaskProvider3.GetSurrogateProviderGuid Method

If this method is implemented, all the provider's tasks will be listed under the surrogate provider in the list as though they belonged to the surrogate provider.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Declaration
Private Function GetSurrogateProviderGuid ( _
    <OutAttribute> ByRef guid As Guid _
) As Integer Implements IVsTaskProvider3.GetSurrogateProviderGuid
int IVsTaskProvider3.GetSurrogateProviderGuid(
    out Guid guid
)
private:
virtual int GetSurrogateProviderGuid(
    [OutAttribute] Guid% guid
) sealed = IVsTaskProvider3::GetSurrogateProviderGuid
private abstract GetSurrogateProviderGuid : 
        guid:Guid byref -> int 
private override GetSurrogateProviderGuid : 
        guid:Guid byref -> int 
JScript does not support explicit interface implementations.

Parameters

  • guid
    Type: System.Guid%
    [out] The GUID of the surrogate provider. By default returns an empty GUID.

Return Value

Type: System.Int32
When implemented by derived classes, S_OK or an error code.

Implements

IVsTaskProvider3.GetSurrogateProviderGuid(Guid%)

Remarks

By default this method returns E_NOTIMPL.

.NET Framework Security

See Also

Reference

TaskProvider Class

Microsoft.VisualStudio.Shell Namespace