Share via


ASTaskBase.FireError Method (String, String)

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Raises an event when an error occurs.

Namespace:  Microsoft.DataTransformationServices.Tasks.DTSProcessingTask
Assembly:  Microsoft.SqlServer.ASTasks (in Microsoft.SqlServer.ASTasks.dll)

Syntax

'Declaration
Protected Sub FireError ( _
    subComponent As String, _
    message As String _
)
'Usage
Dim subComponent As String 
Dim message As String 

Me.FireError(subComponent, message)
protected void FireError(
    string subComponent,
    string message
)
protected:
void FireError(
    String^ subComponent, 
    String^ message
)
member FireError : 
        subComponent:string * 
        message:string -> unit
protected function FireError(
    subComponent : String, 
    message : String
)

Parameters

  • subComponent
    Type: System.String
    A String that contains more detail about the event source.

See Also

Reference

ASTaskBase Class

FireError Overload

Microsoft.DataTransformationServices.Tasks.DTSProcessingTask Namespace