IVsXMLMemberData3.GetExceptionTextAt Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'宣告
Function GetExceptionTextAt ( _
iException As Integer, _
<OutAttribute> ByRef pbstrType As String, _
<OutAttribute> ByRef pbstrText As String _
) As Integer
'用途
Dim instance As IVsXMLMemberData3
Dim iException As Integer
Dim pbstrType As String
Dim pbstrText As String
Dim returnValue As Integer
returnValue = instance.GetExceptionTextAt(iException, _
pbstrType, pbstrText)
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
- 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.