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.12.0 (in Microsoft.VisualStudio.Shell.12.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: Guid%[out] The GUID of the surrogate provider. By default returns an empty GUID.
Return Value
Type: 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.