다음을 통해 공유


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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

‘선언
Private Function GetSurrogateProviderGuid ( _
    <OutAttribute> ByRef guid As Guid _
) As Integer Implements IVsTaskProvider3.GetSurrogateProviderGuid
int IVsTaskProvider3.GetSurrogateProviderGuid(
    out Guid guid
)

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