IVsXMLMemberData3.GetExceptionTextAt Method
Gets the exception text from the specified location.
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: Int32[in] The position of the exception in the collection.
pbstrType
Type: String%[out] The type of the exception.
pbstrText
Type: String%[out] The text of the exception.
Return Value
Type: 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
- 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.