共用方式為


TaskProvider.IVsTaskProvider3.GetSurrogateProviderGuid(Guid) Method

Definition

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.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsTaskProvider3.GetSurrogateProviderGuid([Runtime::InteropServices::Out] Guid % guid) = Microsoft::VisualStudio::Shell::Interop::IVsTaskProvider3::GetSurrogateProviderGuid;
int IVsTaskProvider3.GetSurrogateProviderGuid (out Guid guid);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsTaskProvider3.GetSurrogateProviderGuid : Guid -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsTaskProvider3.GetSurrogateProviderGuid : Guid -> int
Function GetSurrogateProviderGuid (ByRef guid As Guid) As Integer Implements IVsTaskProvider3.GetSurrogateProviderGuid

Parameters

guid
Guid

[out] The GUID of the surrogate provider. By default returns an empty GUID.

Returns

When implemented by derived classes, S_OK or an error code.

Implements

Remarks

By default this method returns E_NOTIMPL.

Applies to