다음을 통해 공유


ErrorSupport.FireWarning Method (Int32, String, String, Int32)

Raises a warning identified by the specified HRESULT and associates it with the specified component, help file, and help context.

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

구문

‘선언
Public Sub FireWarning ( _
    hResult As Integer, _
    strSubComponent As String, _
    strHelpFile As String, _
    HelpContext As Integer _
)
public void FireWarning (
    int hResult,
    string strSubComponent,
    string strHelpFile,
    int HelpContext
)
public:
void FireWarning (
    int hResult, 
    String^ strSubComponent, 
    String^ strHelpFile, 
    int HelpContext
)
public void FireWarning (
    int hResult, 
    String strSubComponent, 
    String strHelpFile, 
    int HelpContext
)
public function FireWarning (
    hResult : int, 
    strSubComponent : String, 
    strHelpFile : String, 
    HelpContext : int
)

매개 변수

  • hResult
    The HRESULT of the underlying COM error.
  • strSubComponent
    The friendly name of the component.
  • strHelpFile
    The help file that provides additional information about the messages that are raised.
  • HelpContext
    The location in the help file that provides additional information about the messages that are raised.

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

ErrorSupport Class
ErrorSupport Members
Microsoft.SqlServer.Dts.ManagedMsg Namespace