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
'Usage
Dim instance As IVsTaskProvider3
Dim pguidProvider As Guid
Dim returnValue As Integer
returnValue = instance.GetSurrogateProviderGuid(pguidProvider)
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
- 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.