다음을 통해 공유


ErrorSupport 클래스

Supports the raising of errors, warnings, and other events that include descriptive text for known COM HRESULTs that are returned by Integration Services components written in native code.

상속 계층

System.Object
  Microsoft.SqlServer.Dts.ManagedMsg.ErrorSupport
    Microsoft.SqlServer.Dts.ManagedMsg.DataflowErrorSupport

네임스페이스:  Microsoft.SqlServer.Dts.ManagedMsg
어셈블리:  Microsoft.SqlServer.DtsMsg(Microsoft.SqlServer.DtsMsg.dll)

구문

‘선언
<ComVisibleAttribute(False)> _
Public Class ErrorSupport
‘사용 방법
Dim instance As ErrorSupport
[ComVisibleAttribute(false)]
public class ErrorSupport
[ComVisibleAttribute(false)]
public ref class ErrorSupport
[<ComVisibleAttribute(false)>]
type ErrorSupport =  class end
public class ErrorSupport

ErrorSupport 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 ErrorSupport(IDTSComponentEvents100) Initializes a new instance of the ErrorSupport class.
보호된 메서드 ErrorSupport(IDTSComponentMetaData100) Initializes a new instance of the ErrorSupport class.
공용 메서드 ErrorSupport(IDTSInfoEvents100) Initializes a new instance of the ErrorSupport class.
공용 메서드 ErrorSupport(IDTSComponentEvents100, String, String, Int32) Initializes a new instance of the ErrorSupport class.
보호된 메서드 ErrorSupport(IDTSComponentMetaData100, String, String, Int32) Initializes a new instance of the ErrorSupport class.
공용 메서드 ErrorSupport(IDTSInfoEvents100, String, String, Int32) Initializes a new instance of the ErrorSupport class.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 FireError(Int32, Boolean%) Raises an error identified by the specified HRESULT and allows execution to be cancelled.
공용 메서드 FireError(Int32, String, String, Int32, Boolean%) Raises an error identified by the specified HRESULT, associates it with the specified component, help file, and help context, and allows execution to be cancelled.
공용 메서드 FireErrorWithArgs(Int32, Boolean%, array<Object[]) Raises an error identified by the specified HRESULT, allows execution to be cancelled, and includes an optional array of user-defined objects or information.
공용 메서드 FireErrorWithArgs(Int32, String, String, Int32, Boolean%, array<Object[]) Raises an error identified by the specified HRESULT, associates it with the specified component, help file, and help context, allows execution to be cancelled, and includes an optional array of user-defined objects or information.
공용 메서드 FireInformation(Int32, Boolean%) Raises an informational message about the specified HRESULT and allows execution to be cancelled.
공용 메서드 FireInformation(Int32, String, String, Int32, Boolean%) Raises an informational message about the specified HRESULT, associates it with the specified component, help file, and help context, and allows execution to be cancelled.
공용 메서드 FireInformationWithArgs(Int32, Boolean%, array<Object[]) Raises an informational message about the specified HRESULT, allows execution to be cancelled, and includes an optional array of user-defined objects or information.
공용 메서드 FireInformationWithArgs(Int32, String, String, Int32, Boolean%, array<Object[]) Raises an informational message about the specified HRESULT, associates it with the specified component, help file, and help context, allows execution to be cancelled, and includes an optional array of user-defined objects or information.
공용 메서드 FireWarning(Int32) Raises a warning identified by the specified HRESULT and allows execution to be cancelled.
공용 메서드 FireWarning(Int32, String, String, Int32) Raises a warning identified by the specified HRESULT and associates it with the specified component, help file, and help context.
공용 메서드 FireWarningWithArgs(Int32, array<Object[]) Raises a warning identified by the specified HRESULT and includes an optional array of user-defined objects or information.
공용 메서드 FireWarningWithArgs(Int32, String, String, Int32, array<Object[]) Raises a warning identified by the specified HRESULT, associates it with the specified component, help file, and help context, and includes an optional array of user-defined objects or information.
공용 메서드 GetFormattedMessage Gets the error message for an HRESULT and formats the message by populating parameters with the supplied values.
공용 메서드정적 멤버 GetFormattedMessageEx Gets the error message for an HRESULT and formats the message by populating parameters with the supplied values.
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
보호된 메서드 MemberwiseClone (Object에서 상속됨)
보호된 메서드 SetErrorInterface(IDTSComponentEvents100) Specifies the IDTSComponentEvents100 instance that the ErrorSupport class will use to raise messages.
보호된 메서드 SetErrorInterface(IDTSComponentMetaData100) Specifies the IDTSComponentMetadata100 instance that the ErrorSupport class will use to raise messages.
보호된 메서드 SetErrorInterface(IDTSInfoEvents100) Specifies the IDTSInfoEvents100 instance that the ErrorSupport class will use to raise messages.
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

주의

Although the data flow component developer can raise errors, warnings, and other events by calling the Fire<X> methods of the IDTSComponentMetaData100 interface, the Fire<X> methods of the ErrorSupport class provide additional value by retrieving descriptive messages that correspond to known COM HRESULTs returned by Integration Services components written in native code. Use the ErrorSupport property of the PipelineComponent base class to obtain an ErrorSupport object for this purpose.

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Dts.ManagedMsg 네임스페이스