Bagikan melalui


IVsXMLMemberData3.GetExceptionTextAt Method

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

Syntax

'Declaration
Function GetExceptionTextAt ( _
    iException As Integer, _
    <OutAttribute> ByRef pbstrType As String, _
    <OutAttribute> ByRef pbstrText As String _
) As Integer
int GetExceptionTextAt(
    int iException,
    out string pbstrType,
    out string pbstrText
)
int GetExceptionTextAt(
    [InAttribute] int iException, 
    [OutAttribute] String^% pbstrType, 
    [OutAttribute] String^% pbstrText
)
abstract GetExceptionTextAt : 
        iException:int * 
        pbstrType:string byref * 
        pbstrText:string byref -> int 
function GetExceptionTextAt(
    iException : int, 
    pbstrType : String, 
    pbstrText : String
) : int

Parameters

  • iException
    Type: System.Int32
    [in] The position of the exception in the collection.
  • pbstrType
    Type: System.String%
    [out] The type of the exception.
  • pbstrText
    Type: System.String%
    [out] The text of the exception.

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 IVsXMLMemberData3::GetExceptionTextAt(
   [in] long iException, 
   [out] BSTR *pbstrType, 
   [out] BSTR *pbstrText
);

.NET Framework Security

See Also

Reference

IVsXMLMemberData3 Interface

Microsoft.VisualStudio.Shell.Interop Namespace