Share via


IVsContainedLanguageHost.GetErrorProviderInformation Method

Retrieves information about the error provider.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'Declaration
Function GetErrorProviderInformation ( _
    <OutAttribute> ByRef pbstrTaskProviderName As String, _
    <OutAttribute> ByRef pguidTaskProviderGuid As Guid _
) As Integer
int GetErrorProviderInformation(
    out string pbstrTaskProviderName,
    out Guid pguidTaskProviderGuid
)
int GetErrorProviderInformation(
    [OutAttribute] String^% pbstrTaskProviderName, 
    [OutAttribute] Guid% pguidTaskProviderGuid
)
abstract GetErrorProviderInformation : 
        pbstrTaskProviderName:string byref * 
        pguidTaskProviderGuid:Guid byref -> int
function GetErrorProviderInformation(
    pbstrTaskProviderName : String, 
    pguidTaskProviderGuid : Guid
) : int

Parameters

  • pbstrTaskProviderName
    Type: System.String%

    [out] Name of the task provider.

  • pguidTaskProviderGuid
    Type: System.Guid%

    [out] A GUID identifying the task provider.

Return Value

Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.

Remarks

COM Signature

From singlefileeditor.idl:

HRESULT GetErrorProviderInformation(
   [out] BSTR* pbstrTaskProviderName,
   [out] GUID* pguidTaskProviderGuid
);

The information returned by this method is typically the name and GUID for the editor that implements the IVsContainedLanguageHost interface.

.NET Framework Security

See Also

Reference

IVsContainedLanguageHost Interface

Microsoft.VisualStudio.TextManager.Interop Namespace