ErrorSupport.FireError Method (Int32, String, String, Int32, out 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.
Namespace: Microsoft.SqlServer.Dts.ManagedMsg
Assembly : Microsoft.SqlServer.DtsMsg (in microsoft.sqlserver.dtsmsg.dll)
Syntax
'Declaration
Public Sub FireError ( _
hResult As Integer, _
strSubComponent As String, _
strHelpFile As String, _
HelpContext As Integer, _
<OutAttribute> ByRef bCancel As Boolean _
)
public void FireError (
int hResult,
string strSubComponent,
string strHelpFile,
int HelpContext,
out bool bCancel
)
public:
void FireError (
int hResult,
String^ strSubComponent,
String^ strHelpFile,
int HelpContext,
[OutAttribute] bool% bCancel
)
public void FireError (
int hResult,
String strSubComponent,
String strHelpFile,
int HelpContext,
/** @attribute OutAttribute() */ /** @ref */ boolean bCancel
)
Von JScript werden keine passiven Werttypargumente zur Referenz unterstützt.
Parameter
- hResult
The HRESULT of the underlying COM error.
- strSubComponent
The friendly name of the component.
- strHelpFile
The help file that will provide additional information about the messages that are raised.
- HelpContext
The location in the help file that will provide additional information about the messages that are raised.
- bCancel
true to cancel execution; otherwise, false.
Threadsicherheit
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.
Plattformen
Entwicklungsplattformen
Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.
Zielplattforme
Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.
Siehe auch
Verweis
ErrorSupport Class
ErrorSupport Members
Microsoft.SqlServer.Dts.ManagedMsg Namespace