Share via


PipelineComponentHResultException Constructor (String, Int32)

Initializes a new instance of the PipelineComponentHResultException class.

Namespace:  Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    code As Integer _
)
'Usage
Dim message As String 
Dim code As Integer 

Dim instance As New PipelineComponentHResultException(message, _
    code)
public PipelineComponentHResultException(
    string message,
    int code
)
public:
PipelineComponentHResultException(
    String^ message, 
    int code
)
new : 
        message:string * 
        code:int -> PipelineComponentHResultException
public function PipelineComponentHResultException(
    message : String, 
    code : int
)

Parameters

  • message
    Type: System.String
    The message returned by the underlying COM exception.
  • code
    Type: System.Int32
    The COM hresult returned by the underlying COM exception.

See Also

Reference

PipelineComponentHResultException Class

PipelineComponentHResultException Overload

Microsoft.SqlServer.Dts.Pipeline Namespace