语言

CManagedComponentWrapperClass.DescribeRedirectedErrorCode(Int32) 方法

定义

返回组件定义的错误代码描述。

public:
 virtual System::String ^ DescribeRedirectedErrorCode(int hrErrorCode) = Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSDesigntimeComponent100::DescribeRedirectedErrorCode;
[System.Runtime.InteropServices.DispId(35)]
public virtual string DescribeRedirectedErrorCode(int hrErrorCode);
[<System.Runtime.InteropServices.DispId(35)>]
abstract member DescribeRedirectedErrorCode : int -> string
override this.DescribeRedirectedErrorCode : int -> string
Public Overridable Function DescribeRedirectedErrorCode (hrErrorCode As Integer) As String

参数

hrErrorCode
Int32

检索到描述的错误代码。

返回

包含参数指定 errorCode 错误代码描述的字符串。

实现

属性

注解

该方法在组件执行过程中调用,以获取组件在 的 IDTSBuffer100 行被重定向到组件错误输出时所提供的错误代码描述。

适用于