ErrorSupport 构造函数 (IDTSInfoEvents100, String, String, Int32)
Initializes a new instance of the ErrorSupport class.
命名空间: Microsoft.SqlServer.Dts.ManagedMsg
程序集: Microsoft.SqlServer.DtsMsg(在 Microsoft.SqlServer.DtsMsg.dll 中)
语法
声明
Public Sub New ( _
pIDTSEvents As IDTSInfoEvents100, _
strSubComponent As String, _
strHelpFile As String, _
HelpContext As Integer _
)
用法
Dim pIDTSEvents As IDTSInfoEvents100
Dim strSubComponent As String
Dim strHelpFile As String
Dim HelpContext As Integer
Dim instance As New ErrorSupport(pIDTSEvents, _
strSubComponent, strHelpFile, HelpContext)
public ErrorSupport(
IDTSInfoEvents100 pIDTSEvents,
string strSubComponent,
string strHelpFile,
int HelpContext
)
public:
ErrorSupport(
IDTSInfoEvents100^ pIDTSEvents,
String^ strSubComponent,
String^ strHelpFile,
int HelpContext
)
new :
pIDTSEvents:IDTSInfoEvents100 *
strSubComponent:string *
strHelpFile:string *
HelpContext:int -> ErrorSupport
public function ErrorSupport(
pIDTSEvents : IDTSInfoEvents100,
strSubComponent : String,
strHelpFile : String,
HelpContext : int
)
参数
- pIDTSEvents
类型:Microsoft.SqlServer.Dts.Runtime.Wrapper. . :: . .IDTSInfoEvents100
The IDTSInfoEvents100 instance that the ErrorSupport class will use to raise messages.
- strSubComponent
类型:System. . :: . .String
The friendly name of the component.
- strHelpFile
类型:System. . :: . .String
The help file that provides additional information about the messages that the ErrorSupport class raises.
- HelpContext
类型:System. . :: . .Int32
The location in the help file that provides additional information about the messages that the ErrorSupport class are raises.