Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Initializes a new instance of the DtsTaskException class with specified COM exception.
Espace de noms : Microsoft.SqlServer.Dts.Runtime
Assembly : Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)
Syntaxe
'Déclaration
Public Sub New ( _
originalException As COMException _
)
'Utilisation
Dim originalException As COMException
Dim instance As New DtsTaskException(originalException)
public DtsTaskException(
COMException originalException
)
public:
DtsTaskException(
COMException^ originalException
)
new :
originalException:COMException -> DtsTaskException
public function DtsTaskException(
originalException : COMException
)
Paramètres
- originalException
Type : System.Runtime.InteropServices.COMException
The COM exception.
Notes
If your custom component has a COM exception that causes DtsTaskException to be thrown, wrap the exception with this constructor that takes the COM exception through the originalException parameter.