Aracılığıyla paylaş


IVsErrorItem.GetCategory Yöntem (UInt32)

 

Kategori hata döndürür.

Ad Alanı:   Microsoft.VisualStudio.Shell.Interop
Derleme:  Microsoft.VisualStudio.Shell.Interop.8.0 (Microsoft.VisualStudio.Shell.Interop.8.0.dll içinde)

Sözdizimi

int GetCategory(
    out uint pCategory
)
int GetCategory(
    [OutAttribute] unsigned int% pCategory
)
abstract GetCategory : 
        pCategory:uint32 byref -> int
Function GetCategory (
    <OutAttribute> ByRef pCategory As UInteger
) As Integer

Parametreler

  • pCategory
    [Çıkış] vserrorcategory değeri, arasında bir değer __VSERRORCATEGORY belirten bir hata, uyarı veya bilgi iletisi numaralandırma.

Dönüş Değeri

Type: System.Int32

Yöntem başarılı olursa, verir S_OK.Başarısız olursa, bir hata kodu döndürür.

Notlar

com imzası

Vsshell80.idl:

HRESULT IVsErrorItem::GetCategory(
   [out] VSERRORCATEGORY* pCategory
);

Ayrıca bkz.

IVsErrorItem Arabirim
Microsoft.VisualStudio.Shell.Interop Ad Alanı

Başa dön