ErrorSupport.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.

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

public void FireError(
	int hResult,
	string strSubComponent,
	string strHelpFile,
	int HelpContext,
	out bool bCancel
)

매개 변수

hResult
유형: System.Int32
The HRESULT of the underlying COM error.
strSubComponent
유형: System.String
The friendly name of the component.
strHelpFile
유형: System.String
The help file that will provide additional information about the messages that are raised.
HelpContext
유형: System.Int32
The location in the help file that will provide additional information about the messages that are raised.
bCancel
유형: System.Boolean
true to cancel execution; otherwise, false.

커뮤니티 추가 항목

추가
표시: