共用方式為


CManagedComponentWrapperClass.DescribeRedirectedErrorCode(Int32) Method

Definition

Returns the description of an error code defined by the component.

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

Parameters

hrErrorCode
Int32

The error code whose description is retrieved.

Returns

A String that contains a description for the error code specified by the errorCode parameter.

Implements

Attributes

Remarks

This method is called during component execution to retrieve a description of the error code provided by the component when a row from an IDTSBuffer100 was redirected to the error output of the component.

Applies to