Partager via


Constructeur PipelineComponentHResultException (String, Int32)

Initializes a new instance of the PipelineComponentHResultException class.

Espace de noms :  Microsoft.SqlServer.Dts.Pipeline
Assembly :  Microsoft.SqlServer.PipelineHost (en Microsoft.SqlServer.PipelineHost.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    message As String, _
    code As Integer _
)
'Utilisation
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
)

Paramètres

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

Voir aussi

Référence

PipelineComponentHResultException Classe

Surcharge PipelineComponentHResultException

Espace de noms Microsoft.SqlServer.Dts.Pipeline