IVsTaskItem3.GetSurrogateProviderGuid Method
If the task implements this method, it will be listed under the surrogate provider in the list, as if it belongs to the surrogate provider. This overrides the surrogate provider specified by IVsTaskProvider.GetSurrogateProviderGuid, if any.
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 IVsTaskItem3
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 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 IVsTaskItem3::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.